Hi Jim,

You could also use the 'select' argument. For example,

plot(gam.object,se=TRUE,select=1)

will give you the smooth plot for the first variable.

Be sure to read the documentation.  See ?plot.gam for specifics details on 
plotting gam objects.

Julian


On Fri, 17 Aug 2007, Dieter Menne wrote:

> jim holtman <jholtman <at> gmail.com> writes:
>
>>
>> Turn 'Recording" on for the plots.
>>
>> windows(record=TRUE)
>>
>> or select from the GUI.
>>
>> I mean if the object has several plots how can I
>> get those?
>
>>> "gam.object <- gam(y ~ s(x,6) + z,data=gam.data)
>>> plot(gam.object,se=TRUE)"
>
> Or use something like
>
> par(mfrow=c(3,3))
>
> to avoid paging
>
> Dieter
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to