Performs prediction for the bivariate Gaussian common component geostatistical model
# S3 method for BGCCM
predict(object, locations, borders,
variable.to.predict = 1, ...)
on object of the class BGCCMfit
, which is
an output of likfitBGCCM
.
an check.locations
.
optional. If missing, by default reads the element
borders
of the geodata
object of the variable to be
predicted. Ignored if set to NULL
.
If a two column matrix defining a polygon is
provided the prediction is performed only at locations inside this polygon.
scalar with options for values or 2 indicating which variable is to be predicted.
not yet used.
A list of the class BGCCMpred
with components:
predicted values.
prediction variances.
This is a new function and still in draft format and pretty much untested.
# NOT RUN {
# see http://www.leg.ufpr.br/geoR/tutorials/CCM.R
# }
Run the code above in your browser using DataLab