Re: [R] change the colour line in gamm4 plotting

2016-07-26 Thread Jim Lemon
Hi Maria, The "plot.gam" function doesn't use the "col" argument for lines, but does change the color of points in the second example on the help page. There doesn't seem to be an easy way to change the function to get what you want. Jim On Tue, Jul 26, 2016 at 11:47 PM, Maria Lathouri via R-hel

[R] change the colour line in gamm4 plotting

2016-07-26 Thread Maria Lathouri via R-help
Dear all I am stuck probably in a simple plotting question My model is:model.1<-gamm4(y~s(x1, by=end.group)+Year+K1+k2+k3, data=.., random=~(1|WB_ID/Site_ID)) where y is my dependent variable, x1 is the smooth covariate and I use the by argument for the smooth term based on six different group