Description Usage Arguments Details Value Author(s) References See Also Examples
This function performs spatial continuous and discrete prediction, fixing the model parameters at the Monte Carlo maximum likelihood estimates of a SDALGCP model.
1 2 3 4 5 6 7 8 9 10 11 12 |
para_est |
an object of class "SDALGCPST" obtained as a result of a call to |
cellsize |
the size of the computational grid. |
continuous |
logical; to choose which prediction to do perform, discrete or continuous, the default is continuous. |
control.mcmc |
output from |
pred.loc |
optional, the dataframe of the predictive grid. |
divisor |
optional, the value to use to convert the dimension of the polygon, default is 1 which implies no conversion. |
plot.correlogram |
logical; if plot.correlogram = TRUE the autocorrelation plot of the conditional simulations is displayed. |
messages |
logical; if messages=TRUE then status messages are printed on the screen (or output device) while the function is running. Default is messages=TRUE. |
parallel |
to parallelize some part of the function. |
n.window |
the number of partitions to use for prediction. This is basically stratifying the predictive grid into fewer pieces |
The function perform prediction of the spatially discrete incidence and covariate adjusted relative risk, and spatially continuous relative risk. The discrete inference uses the Metropolis-Adjusted Langevin Hasting sampling from Laplace.sampling
. And the continuous inference is typically change of support inference.
pred.draw: the samples of the prediction
pred: the prediction of the relative risk
predSD: the standard error of the prediction
Pred.loc: The coordinates of the predictive locations
Olatunji O. Johnson o.johnson@lancaster.ac.uk
Emanuele Giorgi e.giorgi@lancaster.ac.uk
Peter J. Diggle p.diggle@lancaster.ac.uk
Banerjee, S., Carlin, B. P., & Gelfand, A. E. (2014). Hierarchical modeling and analysis for spatial data. CRC press.
plot.Pred.SDALGCPST, SDAContinuousPred, SDADiscretePred, plot_continuous, plot_discrete
1 | # check vignette for examples
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.