View source: R/extract_posterior.R
extract_posterior | R Documentation |
Extracts posterior samples for a specified parameter from a RoBMA model object.
extract_posterior(
x,
parameter = "mu",
conditional = FALSE,
output_scale = NULL,
...
)
x |
a fitted RoBMA object |
parameter |
a parameter for which posterior samples
should be extracted. Defaults to |
conditional |
whether conditional estimates should be
extracted. Defaults to |
output_scale |
transform the effect sizes and the meta-analytic
effect size estimate to a different scale. Defaults to |
... |
additional arguments passed to the method. |
A matrix containing the posterior samples for the specified parameter.
## Not run:
# Assuming 'fit' is a fitted RoBMA model:
posterior_mu <- extract_posterior(fit, parameter = "mu")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.