Hello, I am looking for a R routine to fit a function/surface to my data 3d data. I'd like to use the function in a model so something like splines is not applicable. The data are smooth and can provide a plot if helpful. Thanks, Mark