krige()
- Description:
- Carry out spatial prediction (or kriging).
- Usage:
- krige(prdpnt, point.obj, v1, var.mod.object,maxdist=NULL)
- Required arguments:
- prdpnt: a point object, generated by point(), at which
prediction is carried out
- point.obj: a point object, generated by point(),
containing the sample points and data
- v1: the variable, contained in
point.obj, for which prediction will be carried out
- Optional arguments:
- maxdist: an optional maximum distance. If entered, then
only sample points (i.e, in point.obj) within
maxdist of each prediction point will be used to do the
prediction at that point. If not entered, then all n sample
points will be used to make the prediction at each point.
- Value:
- A point object which is a
copy of the prdpnt object with two new variables,
zhat and sigma2hat, which are, repspectively, the
predicted value and the kriging variance.
- Examples:
- > prdpnt <- krige(prdpnt, stations, 'inches', stations.v.m)
majure