spde2precision {INLAspacetime} | R Documentation |
Creates a precision matrix as a sparse matrix object. For general code look at the functions in the INLA package.
spde2precision(kappa, fem, alpha)
kappa |
the scale parameter. |
fem |
a list containing the Finite Element matrices. |
alpha |
the smoothness parameter. |
the precision matrix as a sparse matrix object.
This is just for illustration purpose and one should consider the efficient function available a the INLA package.