Helper functions for multi-likelihood models
bru_inla.stack.mjoin(
...,
compress = TRUE,
remove.unused = TRUE,
old.names = "BRU.response",
new.name = "BRU.response"
)
List of stacks that contain vector observations (existing multi-likelihood observation matrices are also permitted)
If TRUE
, compress the model by removing duplicated rows of
effects, replacing the corresponding A-matrix columns with a single column
containing the sum.
If TRUE
, compress the model by removing rows of
effects corresponding to all-zero columns in the A matrix (and removing those columns).
A vector of strings with the names of the observation vector/matrix for each stack. If a single string, this is assumed for all the stacks. (default "BRU.response")
The name to be used for the expanded observation matrix, possibly the same as an old name. (default "BRU.response")