Description Usage Arguments Value Author(s) See Also
Creates and inla.spde2 object describing the internal structure of an
'spde2'
model.
1 2 3 4 5 6 7 8 9 10 11 12 | 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))),
...)
## Map theta values to internal phi values
inla.spde2.theta2phi0(spde, theta)
inla.spde2.theta2phi1(spde, theta)
inla.spde2.theta2phi2(spde, theta)
|
M0 |
The symmetric |
M1 |
The square |
M2 |
The symmetric |
B0 |
Basis definition matrix for phi0. |
B1 |
Basis definition matrix for phi1. |
B2 |
Basis definition matrix for phi2. |
theta.mu |
Prior expectation for the theta vector |
theta.Q |
Prior precision for the theta vector |
transform |
Transformation link for phi2. Valid settings are
|
theta.initial |
Initial value for the theta vector. Default |
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. |
spde |
An |
theta |
parameter values to be mapped. |
For inla.spde2.generic
, an inla.spde2
object.
For inla.spde2.theta2phi0/1/2
, a vector of phi values.
Finn Lindgren finn.lindgren@gmail.com
inla.spde2.models
,
inla.spde2.matern
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.