Description Usage Arguments Value Examples
This function returns the precision matrix for a GMRF over a triangulation such that it is an approximation to a Gaussian field with a Matern kernel with pre-specified parameters.
1 | Prec_from_SPDE_wrapper(M, K, nu, desired_prec, l)
|
M |
the mass matrix of the finite element basis |
K |
the stiffness matrix of the finite element basis |
nu |
the smoothness parameter of the Matern kernel |
desired_prec |
a constant or a vector of length |
l |
a constant or a vector of length |
Object of class "dgCMatrix"
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.