Re: [R] multiple comparisons for GAMs

2012-08-07 Thread Bird_Girl
I have looked into using glht (‘multcomp’ package) to do multiple comparisons for a model fit with GAM {mgcv} but after reading the description of the ‘multcomp’ package, I believe this method only applies to parametric models and linear hypotheses. When I ran the code glht(model,linfct….) I got a

[R] multiple comparisons for GAMs

2012-08-02 Thread Bird_Girl
Hi, I have a question regarding whether it is possible to do post hoc tests on a model fit with GAM {mgcv}. My response variable is abundance (no. individuals per plot), and I have one continuous predictor (light) and one factor (height) which includes 7 levels. > mod2=gam(log_abundance~s(light