Hi,

I have a dataset with two independent variables (x, y) and a response
variable (z). I was hoping to generate a response surface by plotting x, y,
z on a three dimensional plot. I can plot the data with rgl.points(x, y,
z). I understand I may not have enough data to generate a surface. Is there
a way to smooth out the data points to generate a surface? Thanks a lot.

Jun

===========================

An example:

x<-runif(20)
y<-runif(20)
z<-runif(20)

library(rgl)
rgl.points(x,y,z)

	[[alternative HTML version deleted]]

