This function computes all the matrices needed to build the precision matrix for spatio-temporal model, as in Lindgren et. al. (2023)
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.