Computes quantiles, Rhat
and ESS
for selected model parameters.
# S3 method for emc
summary(
object,
selection = c("mu", "sigma2", "alpha"),
probs = c(0.025, 0.5, 0.975),
digits = 3,
...
)
A list of summary output.
An object of class emc
A character string indicating the parameter type
Defaults to mu
, sigma2
, and alpha
. See below for more information.
The quantiles to be computed. Defaults to the the 2.5%, 50% and 97.5% quantiles.
An integer specifying rounding of output.
Optional arguments that can be passed to get_pars
Note that if selection = alpha
and by_subject = TRUE
(default)
is used, summary statistics are computed at the individual level.
to the console but summary statistics for all subjects are returned by the
function.