Plots a surface

Usage

surface(x, gridlist=NA, extrap=F, ...)

Arguments

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.

Value

See Also

surface.tps, surface.krig, surface.nnreg, plot.surface, grid.list

Examples

tps(ozone$x,ozone$y) -> fit #tps fit to ozone data
surface(fit) #plots the surface fit to the ozone data


[Package Contents]