summary.emc {EMC2} | R Documentation |
Summary statistics for emc objects
Description
Computes quantiles, Rhat
and ESS
for selected model parameters.
Usage
## S3 method for class 'emc'
summary(
object,
selection = c("mu", "sigma2", "alpha"),
probs = c(0.025, 0.5, 0.975),
digits = 3,
...
)
Arguments
object |
An object of class |
selection |
A character string indicating the parameter type
Defaults to |
probs |
The quantiles to be computed. Defaults to the the 2.5%, 50% and 97.5% quantiles. |
digits |
An integer specifying rounding of output. |
... |
Optional arguments that can be passed to |
Details
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.
Value
A list of summary output.
[Package EMC2 version 2.0.2 Index]