
Last chance! 50% off unlimited learning
Sale ends in
Get the estimates for an MCMC object.
estimates(object, ...)# S3 method for mcarray
estimates(object, fun = stats::median, as_df = FALSE,
...)
# S3 method for mcmc
estimates(object, fun = stats::median, as_df = FALSE,
...)
# S3 method for mcmc.list
estimates(object, fun = stats::median,
as_df = FALSE, ...)
# S3 method for mcmcarray
estimates(object, fun = stats::median,
as_df = FALSE, ...)
# S3 method for mcmcr
estimates(object, fun = stats::median, as_df = FALSE,
...)
An MCMC object.
Unused.
The function to use.
A flag indicating whether to return the estimates as a data frame versus a named list.
A named list or data frame.
mcarray
: Estimates for an mcarray object
mcmc
: Estimates for an mcmc object
mcmc.list
: Estimates for an mcmc.list object
mcmcarray
: Estimates for an mcmcarray object
mcmcr
: Estimates for an mcmcr object
# NOT RUN {
estimates(mcmcr_example)
estimates(mcmcr_example, as_df = TRUE)
# }
Run the code above in your browser using DataLab