Extract samples from a ubmsFit
model
# S4 method for class 'ubmsFit'
extract(object, pars, permuted = TRUE, inc_warmup = FALSE, include = TRUE)
A ubmsFit
object
An optional character vector providing parameter names of interest. If not specified, all parameters are used
Logical. If TRUE
, draws are permuted
and merged; if FALSE
, the original order is kept
Logical. If TRUE
, warmup iterations
are included; if FALSE
they are discarded.
Logical. If TRUE
provided parameter names
in pars
are kept; if FALSE
they are excluded.
If permuted=TRUE
, a list; if permuted=FALSE
,
an array.