Description Usage Arguments Value Author(s)
This function performs spatial prediction, fixing the model parameters at the maximum likelihood estimates of a linear geostatistical model.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
object |
an object of class "PrevMap" obtained as result of a call to |
grid.pred |
a matrix of prediction locations. Default is |
predictors |
a data frame of the values of the explanatory variables at each of the locations in |
predictors.intensity |
a data frame of the values of the explanatory variables at each of the locations in |
control.mcmc |
output from |
target |
an integeter indicating the predictive target: |
type |
a character indicating the type of spatial predictions for |
quantiles |
a vector of quantiles used to summarise the spatial predictions. |
standard.errors |
logical; if |
messages |
logical; if |
return.samples |
logical; if |
A "pred.PrevMap.ps" object list with the following components: response
(if target=1
or target=3
) and intensity
(if target=2
pr target=3
).
grid.pred
prediction locations.
Each of the components intensity
and response
is a list with the following components:
predictions
: a vector of the predictive mean for the corresponding target.
standard.errors
: a vector of prediction standard errors (if standard.errors=TRUE
).
quantiles
: a matrix of quantiles of the resulting predictions with each column corresponding to a quantile specified through the argument quantiles
.
samples
: a matrix corresponding to the predictive samples of the predictive target (only if return.samples=TRUE
), with each row corresponding to a samples and column to a prediction location.
In the case of a model with a mix of preferential and non-preferential data, if target=1
or target=3
, each of the above components will be a list with two components,
namely preferential
and non.preferential
, associated with response
.
Emanuele Giorgi e.giorgi@lancaster.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.