surface {funfits} | R Documentation |
surface(x, gridlist=NA, extrap=F, ...)
x |
An Splus object |
gridlist |
A list with as many components as variables describing the surface. All components should have a single value except the two that give the grid points for evaluation. If the matrix or data frame has column names, these must appear in the grid list. |
extrap |
Extraplolation beyond the range of the data. |
... |
Method for specific class of data may have additional arguments. |
surface.tps, surface.krig, surface.nnreg, plot.surface, grid.list
tps(ozone$x,ozone$y) -> fit #tps fit to ozone data surface(fit) #plots the surface fit to the ozone data