https://github.com/cran/fields
Tip revision: 6769ffc81115fbf0bf7d9c566cf7ac81be0049dc authored by Doug Nychka on 25 July 2005, 00:00:00 UTC
version 3.04
version 3.04
Tip revision: 6769ffc
surface.Krig.r
"surface.Krig" <-
function(obj, grid.list = NA, extrap = FALSE, graphics.reset = NULL, xlab = NULL,
ylab = NULL, main = NULL, zlab = NULL, zlim = NULL, levels = NULL,
type = "C", nx=80, ny=80,...)
{
## modified so that you can give main, and ylab as arguments
## in ... and have them passed correctly
out.p <- predict.surface(obj,
grid.list = grid.list, extrap = extrap, nx=nx,ny=ny)
if(!is.null(ylab))
out.p$ylab <- ylab
if(!is.null(xlab))
out.p$xlab <- xlab
if(!is.null(zlab))
out.p$zlab <- zlab
if(!is.null(main))
out.p$main <- main
## else
## out.p$main <- NULL
plot.surface(out.p, type = type, graphics.reset = graphics.reset,
levels = levels, zlim = zlim, ...)
invisible()
}