| inla.spde2.generic {INLA} | R Documentation |
Generic spde2 model creation.
Description
Creates and inla.spde2 object describing the internal structure of an
'spde2' model.
Usage
inla.spde2.generic(
M0,
M1,
M2,
B0,
B1,
B2,
theta.mu,
theta.Q,
transform = c("logit", "log", "identity"),
theta.initial = theta.mu,
fixed = rep(FALSE, length(theta.mu)),
theta.fixed = theta.initial[fixed],
BLC = cbind(0, diag(nrow = length(theta.mu))),
...
)
Arguments
M0 |
The symmetric |
M1 |
The square |
M2 |
The symmetric |
B0 |
Basis definition matrix for |
B1 |
Basis definition matrix for |
B2 |
Basis definition matrix for |
theta.mu |
Prior expectation for the |
theta.Q |
Prior precision for the |
transform |
Transformation link for |
theta.initial |
Initial value for the |
fixed |
Logical vector. For every |
theta.fixed |
Vector holding the values of fixed |
BLC |
Basis definition matrix for linear combinations of |
... |
Additional parameters, currently unused. |
theta |
parameter values to be mapped. |
Value
For inla.spde2.generic, an inla.spde2() object.
For inla.spde2.theta2phi0/1/2, a vector of \phi values.
Author(s)
Finn Lindgren finn.lindgren@gmail.com
See Also
inla.spde2.models(), inla.spde2.matern()