Dear Lawrence,

You might take a look at the scatter3d function in the Rcmdr package, which
uses the rgl package. scatter3d() includes some smoothing, but not by
ksmooth() or locpoly(), so you might have to alter it for your purposes, but
that shouldn't be hard.

I hope that this helps,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
-------------------------------- 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> lawrence Perepolkin
> Sent: Wednesday, October 20, 2004 7:18 AM
> To: [EMAIL PROTECTED]
> Subject: [R] Plotting a 3D surface 
> 
> Hi 
> 
> Does R have a function or has someone written a function to 
> draw a 3d surface from a scatter plot of values using either 
> ksmooth or locpoly. OR a transform function a that merges x 
> relation z and y relation z to (x,y) relation z?  
> 
> I tried out scatterplot3d but it seems it would take a bit of 
> work to get scatterplot3d to draw a curved surface.
> 
> 
> Lawrence
> 
> ______________________________________________
> [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

______________________________________________
[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

Reply via email to