surface.tps {funfits} | R Documentation |
Two plots are made, a surface plot and a contour plot.
surface.tps(obj, grid.list=NA, extrap=F, graphics.reset=T, ...)
obj |
A tps object. |
grid.list |
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. |
graphics.reset |
Reset to original graphics parameters after function plotting. |
... |
Any ploting options. |
tps, surface
tps(ozone$x,ozone$y) -> fit # tps fit surface(fit) #plots surface and contours of tps fit tps(BD[,1:4],BD$lnya,scale.type="range") -> fit # fitting a DNA strand # displacement amplification surface to various buffer compositions surface(fit,grid.list=list(MgCl2='x',dNTP='y',KCl=35,KPO4=20))) # plots # surface on MgCl2-dNTP grid at specific KCL and KPO4 levels