[R] Surface graph.

Roger Bivand Roger.Bivand at nhh.no
Wed Dec 8 22:43:32 CET 2004


On Wed, 8 Dec 2004, Bang wrote:

> What package/code could I use to create a 3-d surface graph of the predicted
> values over two of the explanatory variables' coefficients?

I think you'll need the surface first, for example from interp() in the 
akima package, then visualise with persp() or perhaps rgl.surface() in 
package rgl.

> 
> Jim
> James Bang
> Department of Economics
> University of Illinois 
> 
> Well I AM missing the back of my head.you COULD cut me a little slack!
> -Homer Simpson
> 
> ______________________________________________
> R-help at 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
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no




More information about the R-help mailing list