| true_effects.brma | R Documentation |
Computes the estimated true effects (theta) for a
fitted brma object. This is an alias for blup.brma.
## S3 method for class 'brma'
true_effects(
object,
bias_adjusted = FALSE,
output_measure = NULL,
transform = NULL,
probs = c(0.025, 0.975),
...
)
object |
a fitted brma object |
bias_adjusted |
whether to adjust for publication bias. Defaults to
|
output_measure |
effect-size measure for location/effect predictions.
Defaults to the fitted measure. Supported conversions are among |
transform |
optional display transformation. Currently |
probs |
quantiles of the posterior distribution to be displayed.
Defaults to |
... |
additional arguments passed to |
This function is identical to blup.brma. See that function
for full details on how true effects are computed.
A brma_samples object containing posterior draws of BLUP or
empirical-Bayes true-effect summaries with one column per estimate. For
existing normal data, these are conditional BLUP means, not simulated
latent-effect draws. When printed, displays a summary table. Use
summary() to obtain the summary table directly. The samples can be
converted to posterior draws formats using as_draws().
blup.brma(), predict.brma(), pooled_effect(),
pooled_heterogeneity()
## Not run:
if (requireNamespace("metadat", quietly = TRUE)) {
data(dat.lehmann2018, package = "metadat")
fit <- brma(
yi = yi,
vi = vi,
data = dat.lehmann2018,
measure = "SMD",
seed = 1,
silent = TRUE
)
true_effects(fit)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.