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.

______________________________________________
[email protected] 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