View source: R/cgeneric_sspde.R
cgeneric_sspde | R Documentation |
Define the stationary SPDE cgeneric model for INLA.
cgeneric_sspde(
mesh,
alpha,
control.priors,
constr = FALSE,
debug = FALSE,
useINLAprecomp = TRUE,
libpath = NULL
)
mesh |
triangulation mesh to discretize the model. |
alpha |
integer used to compute the smoothness parameter. |
control.priors |
named list with parameter priors.
This shall contain |
constr |
logical, default is FALSE, to indicate if the integral of the field over the domain is to be constrained to zero. |
debug |
integer, default is zero, indicating the verbose level. Will be used as logical by INLA. |
useINLAprecomp |
logical, default is TRUE, indicating if it is to be used the shared object pre-compiled by INLA. This is not considered if 'libpath' is provided. |
libpath |
string, default is NULL, with the path to the shared object. |
objects to be used in the f() formula term in INLA.
This is the stationary case of INLA::inla.spde2.pcmatern()
with slight change on the marginal variance when the domain is
the sphere, following Eq. (23) in Lindgren et. al. (2024).
Geir-Arne Fuglstad, Daniel Simpson, Finn Lindgren & Håvard Rue (2019). Constructing Priors that Penalize the Complexity of Gaussian Random Fields. Journal of the American Statistical Association, V. 114, Issue 525.
Finn Lindgren, Haakon Bakka, David Bolin, Elias Krainski and Håvard Rue (2024). A diffusion-based spatio-temporal extension of Gaussian Matérn fields. SORT vol. 48, no. 1, pp. 3-66 <doi: 10.57645/20.8080.02.13>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.