restoreParams: Reparametrise bugs output
Description
Undoes the parametrisation used in writeBugsModel
, and gives the original names to random effect levels.Usage
restoreParams(bugsResult, ragged = NULL)
Arguments
ragged
The ragged array used to call bugs
Value
- A list where each element is a matrix or an array. The first dimension is the number of realisations, the second the number of chains, and for vector-valued parameters and random effects, the third dimension is the length of the parameter..