[R] plot points using vis.gam
mra
monicarad at gmail.com
Thu Aug 5 16:19:17 CEST 2010
Hello,
I'm trying to illustrate the relationships between various trait and
environment data gathered from a number of sites. I've created a GAM to do
this: gam1=gam(trait~s(env1)+s(env2)+te(env1,env2)) and I know how to create
a 3D plot using vis.gam. I want to be able to show points on the 3D plot
indicating the sites that the data came from. I can do this on a 2D plot
when there is one term, e.g. gam2=gam(trait~s(env1)) but cannot figure it
out for the 3D plot.
Any help would be much appreciated
Monica
--
View this message in context: http://r.789695.n4.nabble.com/plot-points-using-vis-gam-tp2314926p2314926.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list