1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Nonlinear Modeling with Generalized Additive Models (GAMs) in R

Connected

Bài tập

Parts of non-linear function

GAMs are made up of basis functions that together compose the smooth terms in models.

You can use the coef() function to extract the coefficients from the GAM model object.

After extracting the coefficients, answer the question:
How many coefficients are there for the basis functions that compose the smooth curve in this model?

Hướng dẫn 1/2

undefined XP
    1
    2

Extract the model coefficients of the gam_mod object which is available in your workspace.