https://github.com/cran/fields
Revision 292e80962d92c497484ad0735f3f13a4b8d3e0ac authored by Doug Nychka on 29 November 2007, 14:39:12 UTC, committed by cran-robot on 29 November 2007, 14:39:12 UTC
1 parent be75adc
Tip revision: 292e80962d92c497484ad0735f3f13a4b8d3e0ac authored by Doug Nychka on 29 November 2007, 14:39:12 UTC
version 4.1
version 4.1
Tip revision: 292e809
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, drop.Z=TRUE)
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()
}
Computing file changes ...