krige.conv(geodata, coords = geodata$coords, data = geodata$data,
locations,
krige = krige.control(type.krige, beta = NULL,
trend.d, trend.l, cov.model, cov.pars,
kappa = 0.5, nugget = 0, micro.scale = 0,
dist.epsilon = 1e-10, aniso.pars = NULL,
lambda = 1, signal = FALSE,
n.samples.backtransform = 500, n.sim = 0),
messages.screen = TRUE)coords and
data as described next. Typically an object of the class
"geodata" - a geoR data-set. If not provided the arguments
coords of the argument geodata, if provided.data of the argument geodata, if provided.cov.pars is obligatory whilst
all the others have default options.class kriging which is a list
with the following components:type.krige = "SK".n.sim > 0.krige = krige.control(...) : [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
image.kriging for graphical output of the results,
krige.bayes for Bayesian prediction and ksline
for a different implementation of kriging allowing for moving neighborhood.if(is.R()) data(s100)
loci <- expand.grid(seq(0,1,l=31), seq(0,1,l=31))
kc <- krige.conv(s100, loc=loci,
krige=krige.control(cov.pars=c(1, .25)))
par(mfrow=c(1,2))
image.kriging(kc, loc=loci, main="kriging estimates")
image.kriging(kc, loc=loci, val=sqrt(kc$krige.var),
main="kriging std. errors")Run the code above in your browser using DataLab