Summarize Posterior Samples
Summarizes posterior samples based on point estimates (mean or median), estimation errors (SD or MAD) and quantiles.
posterior_summary(x, ...) ## Default S3 method: posterior_summary(x, probs = c(0.025, 0.975), robust = FALSE, ...) ## S3 method for class 'brmsfit' posterior_summary(x, pars = NA, probs = c(0.025, 0.975), robust = FALSE, ...)
x |
An R object. |
... |
More arguments passed to or from other methods. |
probs |
The percentiles to be computed by the
|
robust |
If |
pars |
Names of parameters for which posterior samples should be returned, as given by a character vector or regular expressions. By default, all posterior samples of all parameters are extracted. |
A matrix where rows indicate parameters and columns indicate the summary estimates.
## Not run: fit <- brm(time ~ age * sex, data = kidney) posterior_summary(fit) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.