estimates.mcmcr | R Documentation |
Calculates the estimates for an MCMC object.
## S3 method for class 'mcmcr'
estimates(x, fun = median, as_df = FALSE, ...)
x |
An object. |
fun |
A function that given a numeric vector returns a numeric scalar. |
as_df |
A flag indicating whether to return the results as a data frame versus a named list. |
... |
Optional arguments to fun. |
A named list or data frame.
Other MCMC manipulations:
bind_chains()
,
bind_iterations()
,
collapse_chains()
,
split_chains()
estimates(mcmcr_example)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.