Description Usage Arguments Value
For a given set of paramters and new set of coordinates, get the component of the linear predictor corresponding to the spatial random effect, by linear interpolation.
1 | predictSpatial(params, coords, mesh, draw = 1, time = NULL, n_time = NULL)
|
params |
an object of class |
coords |
a two-column dataframe with the coordinates to evaluate the spatial random effect at. |
mesh |
the |
draw |
which parameter set to use |
time |
if a space-time model, the index to the discrete time variable for which spatial predictions are to be made in this round. |
n_time |
if a space-time model, the length of the discrete time variable used in the model. |
a vector of the same length as the number of rows in coords
,
giving the corresponding values of the spatial linear predictor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.