| zplot.brma | R Documentation |
Convenience wrapper for creating and plotting zplot diagnostics
from a fitted brma object.
## S3 method for class 'brma'
zplot(
object,
significance_level = stats::qnorm(0.975),
summary_max_samples = 10000,
...
)
## S3 method for class 'zplot_brma'
zplot(object, ...)
object |
a normal-outcome |
significance_level |
z-value threshold for significance. Defaults
to |
summary_max_samples |
maximum number of posterior samples used for the
EDR and missing-study summaries stored in the generated zplot object.
This is separate from the plot-density |
... |
arguments passed to |
When object already inherits from zplot_brma,
zplot() dispatches directly to plot.zplot_brma() without
recomputing stored summaries.
NULL invisibly for base graphics, or a ggplot2 object.
as_zplot.brma(), plot.zplot_brma(), summary.zplot_brma()
## Not run:
if (requireNamespace("metadat", quietly = TRUE)) {
data(dat.lehmann2018, package = "metadat")
fit <- bPET(yi = yi, vi = vi, data = dat.lehmann2018, measure = "SMD")
zplot(fit)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.