- ...
Parameters passed on to other methods
- object
A character label for the component
- main
main
takes an R expression that evaluates to where the latent variables
should be evaluated (coordinates, indices, continuous scalar (for rw2 etc)).
Arguments starting with weights, group, replicate behave similarly to main,
but for the corresponding features of INLA::f()
.
- weights, weights_layer, weights_selector
Optional specification of effect scaling weights.
Same syntax as for main
.
- model
Either one of "const" (same as "offset"), "factor_full",
"factor_contrast", "linear",
"fixed", or a model name or
object accepted by INLA's f
function. If set to NULL, then "linear" is used
for vector inputs, and "fixed" for matrix input (converted internally to
an iid model with fixed precision)
- mapper
Information about how to do the mapping from the values evaluated in main
,
and to the latent variables. Auto-detects spde model objects in model and
extracts the mesh object to use as the mapper, and auto-generates mappers
for indexed models. (Default: NULL, for auto-determination)
- main_layer, main_selector
The _layer
input should evaluate to a numeric index or character name or
vector of which
layer/variable to extract from a covariate data object given in main
.
(Default: NULL if _selector
is given. Otherwise the effect component name,
if it exists in the covariate object, and otherwise the first column of
the covariate data frame)
The _selector
value should be a character name of a variable
whose contents determines which layer to extract from a covariate for each
data point. (Default: NULL)
- n
The number of latent variables in the model. Should be auto-detected
for most or all models (Default: NULL, for auto-detection).
An error is given if it can't figure it out by itself.
- values
Specifies for what covariate/index values INLA should build
the latent model. Normally generated internally based on the mapping details.
(Default: NULL, for auto-determination)
- season.length
Passed on to INLA::f()
for model "seasonal"
(TODO: check if this parameter is still fully handled)
- copy
character; label of other component that this component should
be a copy of. If the fixed = FALSE
, a scaling constant is estimated, via a
hyperparameter. If fixed = TRUE
, the component scaling is fixed, by
default to 1; for fixed scaling, it's more efficient to express the scaling
in the predictor expression instead of making a copy component.
- group, group_mapper, group_layer, group_selector, ngroup
Optional specification of kronecker/group model indexing.
- control.group
list
of kronecker/group model parameters, currently
passed directly on to INLA::f
- replicate, replicate_mapper, replicate_layer, replicate_selector, nrep
Optional specification of indices for an independent
replication model. Same syntax as for main
- marginal
May specify a bru_mapper_marginal()
mapper,
that is applied before scaling by weights
.
- A.msk
and has no effect.
- .envir
Evaluation environment
- envir_extra
TODO: check/fix this parameter.