Re: [R] Help with graphics in gamm4 library

2012-11-27 Thread MurphFL
Thank you so much! I really appreciate the rapid response, and I was able to solve my issues with this advice! -- View this message in context: http://r.789695.n4.nabble.com/Help-with-graphics-in-gamm4-library-tp4650908p4650993.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Help with graphics in gamm4 library

2012-11-27 Thread Simon Wood
I would approach something like this using predict(fit41$gam,...) (see ?predict.gam) to produce the data needed for the plots. Another possibility is to use s(Time,trt,bs="fs") (but see ?factor.smooth.interaction first). Note that gamm4 does not have a correlation argument, because lme4 does

[R] Help with graphics in gamm4 library

2012-11-26 Thread MurphFL
My problem is relatively straight forward, but I cannot seem to find a way to make it work. I have a RCBD with repeated measurements over time. I have created a fit using the gamm4 package. My model is: fit4a <- gamm4(Rate ~ s(Time,by=trt,bs="cr")+trt,data=qual.11.dat, random=~(1