Re: [R] Error message in GAM

2007-10-18 Thread Simon Wood
In mgcv::gam smooths are represented using basis functions. The `k' argument of `s' specifies the number of basis functions to use. Its default value is 10. If you have fewer than k unique covariate values then the basis can not be set up. So you need to reduce k to at most the number of unique

[R] Error message in GAM

2007-10-17 Thread Francesc Montan
Hello useRs! I have % cover data for different plant species in 300 plots, and I use the ARCSINE transformation (to deal with % cover data). When I use a GLM I do not have any problem. But when I am trying to use a GAM model using mgcv package, to account for non-linearity I get an “error messa