inla.spde.precision.RdCalculates the precision matrix for given parameter values based on an
inla.spde model object.
<!-- %% Standard usage for inla.spde2.models: -->
<!-- %% inla.spde.precision(spde, theta = c(...)) -->
inla.spde.precision(...)
# S3 method for class 'inla.spde2'
inla.spde.precision(spde,
theta = NULL,
phi0 = inla.spde2.theta2phi0(spde, theta),
phi1 = inla.spde2.theta2phi1(spde, theta),
phi2 = inla.spde2.theta2phi2(spde, theta), ...)
inla.spde2.precision(spde,
theta = NULL,
phi0 = inla.spde2.theta2phi0(spde, theta),
phi1 = inla.spde2.theta2phi1(spde, theta),
phi2 = inla.spde2.theta2phi2(spde, theta), ...)
## For deprecated inla.spde1 models:
# S3 method for class 'inla.spde1'
inla.spde.precision(spde, ...)
inla.spde1.precision(spde, ...)An inla.spde object.
The parameter vector.
Internal parameter for a generic model. Expert option only.
Internal parameter for a generic model. Expert option only.
Internal parameter for a generic model. Expert option only.
Additional parameters passed on to other methods.
A sparse precision matrix.