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: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of
> lawrence Perepolkin
> Sent: Wednesday, October 20, 2004 7:18 AM
> To: R-help at stat.math.ethz.ch
> 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
>
> ______________________________________________
> 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