Evaluation of kriging surface
Usage
predict.krig(out, x, lambda=NA, model=NA)
Arguments
out
|
Fit object from the kriging function.
|
x
|
Matrix of x values on which to evaluate the kriging surface.
If omitted, the data x values, i.e. out$x will be used.
|
lambda
|
Smoothing parameter. If omitted, out$lambda will be used.
|
model
|
Generic argument that may be used to pass a different lambda.
|
Value
Vector of predicted responses.See Also
krig, predict.surfaceExamples
krig(ozone$x,ozone$y,exp.cov) -> fit # krig fit
cbind(seq(87,89,,10),seq(40,42,,10)) -> x # new x matrix
predict(fit,x) -> out # evaluate fit at x