Expand observation vectors/matrices in stacks into to a multicolumn matrix for multiple likelihoods
bru_inla.stack.mexpand(
...,
old.names = "BRU.response",
new.name = "BRU.response"
)
a list of modified stacks with multicolumn observations
List of stacks that contain vector observations (existing multilikelihood observation matrices are also permitted)
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")
Fabian E. Bachl f.e.bachl@bath.ac.uk and Finn Lindgren finn.lindgren@gmail.com