Re: [R] plot.gam help

2015-11-14 Thread Bert Gunter
andable. Is there a way to scale the plot > differently? > > > From: Bert Gunter > To: Andrew Crane-Droesch > Cc: Pollyanna Fisher ; "r-help@r-project.org" > > Sent: Saturday, November 14, 2015 12:22 PM > Subject: Re: [R] plot.ga

Re: [R] plot.gam help

2015-11-14 Thread Bert Gunter
Yes. And see the "all.terms" parameter of plot.gam(), which by default is FALSE, yielding the error message reported. Cheers, Bert Bert Gunter "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." -- Clifford Stoll On Sat, Nov 14, 2015 at 2:16 PM, An

Re: [R] plot.gam help

2015-11-14 Thread Andrew Crane-Droesch
Your problem is that you've specified a parametric linear model. Your output is a set of parametric coefficients. You can replace `gam` with `lm` in your example, and you'll get identical results. If you wish to specify one of the terms nonparametrically, you'd use s(chlag), for example (assum

[R] plot.gam help

2015-11-14 Thread Pollyanna Fisher via R-help
Hello, I've created a list of gams and for my last step I'd like to plot them but I keep getting an error method. Here is an example of one of themI appreciate your help Gam1s=gam(E1~chlag +chla + waveMax + SST + IRR + site + day +chlag:site, family=gaussian) summary(Gam1s) Family: gaussian