predict.krig {funfits} | R Documentation |
predict.krig(out, x, lambda=NA, model=NA)
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. |
Vector of predicted responses.
krig, predict.surface
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