stModel.define {INLAspacetime} | R Documentation |
Define a spacetime model object for the f()
call.
Description
Define a spacetime model object for the f()
call.
Usage
stModel.define(
smesh,
tmesh,
model,
control.priors,
constr = FALSE,
debug = FALSE,
verbose = FALSE,
useINLAprecomp = TRUE,
libpath = NULL
)
Arguments
smesh |
a spatial mesh |
tmesh |
a temporal mesh |
model |
a three characters string to specify the
smoothness alpha (each one as integer) parameters.
Currently it considers the |
control.priors |
a named list with parameter priors. E.g. prior.rs, prior.rt and prior.sigma as vectors with length two (U, a) to define the corresponding PC-prior such that P(r_s<U)=a, P(r_t<U)=a or P(sigma>U)=a. If a=0 then U is taken to be the fixed value of the parameter. |
constr |
logical to indicate if the integral of the field over the domain is to be constrained to zero. Default value is FALSE. |
debug |
logical indicating if to run in debug mode. |
verbose |
logical indicating if to print parameter values. |
useINLAprecomp |
logical indicating if is to be used shared object pre-compiled by INLA. Not considered if libpath is provided. |
libpath |
string to the shared object. Default is NULL. |
Details
See the paper.
Value
objects to be used in the f() formula term in INLA.