stModel.matrices {INLAspacetime} | R Documentation |
Define the spacetime model matrices.
Description
This function computes all the matrices needed to build the precision matrix for spatio-temporal model, as in Lindgren et. al. (2023)
Usage
stModel.matrices(smesh, tmesh, model, constr = FALSE)
Arguments
smesh |
a mesh object over the spatial domain. |
tmesh |
a mesh object over the time domain. |
model |
a string identifying the model. So far we have the following models: '102', '121', '202' and '220' models. |
constr |
logical to indicate if the integral of the field over the domain is to be constrained to zero. Default value is FALSE. |
Details
See the paper for details.
Value
a list containing needed objects for model definition.
'manifold' to spedify the a string with the model identification
a length three vector with the constants
c1
,c2
andc3
the vector
d
the matrix
T
the model matrices
M_1
, ...,M_m
[Package INLAspacetime version 0.1.8 Index]