Displaying 1 result from an estimated 1 matches for "yoyrassubset6".
2009 Nov 21
1
3-D Plotting of predictions from GAM/GAMM object
...on is: How can I create an appropriate matrix of
values from a GAM (actually a GAMM) to make a 3-D plot? This model is
fit as a tensor product spline of two predictors and I have used it to
make specific predictions by calling:
YoyRasPred6<-predict(YoyRas.Distribution.T.L.DT.gamm$gam,newdata=YoyRasSubset6,se.fit=T)
However, this type of command, I believe, produces only a vector of
values. I have plotted these values and know how to do so in 2-D.
However, I would like to create a 3-D plot, which I believe will require
an entire matrix of predictions (z values) based on all possible inputs
(x an...