Plots a zplot visualization showing the histogram of observed z-statistics overlaid with model-implied densities.
# S3 method for zplot_brma
plot(
x,
plot_type = "base",
probs = c(0.025, 0.975),
max_samples = 10000,
plot_fit = TRUE,
plot_extrapolation = TRUE,
plot_ci = TRUE,
plot_thresholds = TRUE,
from = -6,
to = 6,
by.hist = 0.5,
length.out.hist = NULL,
by.lines = 0.05,
length.out.lines = NULL,
dots_hist = NULL,
dots_fit = NULL,
dots_extrapolation = NULL,
dots_thresholds = NULL,
...
)NULL invisibly for base graphics, or a ggplot2 object.
a zplot_brma object.
graphics system: "base" or "ggplot".
Defaults to "base".
quantiles for credible intervals. Defaults to c(.025, .975).
maximum posterior samples for density estimation.
Defaults to 10000. Use Inf to use all posterior samples.
whether to show fitted density (with bias adjustments).
Defaults to TRUE.
whether to show extrapolated density (bias removed).
Defaults to TRUE.
whether to show credible interval bands. Defaults to TRUE.
whether to show significance threshold lines.
Defaults to TRUE.
z-value range for plotting. Defaults to -6 and 6.
bin width for histogram. Defaults to 0.5.
number of histogram bins (alternative to by.hist).
step size for density lines. Defaults to 0.05.
number of density points (alternative to by.lines).
graphical parameters for histogram (list).
graphical parameters for fit lines (list).
graphical parameters for extrapolation lines (list).
graphical parameters for threshold lines (list).
additional graphical parameters passed to components.
The plot displays two density curves:
Model-implied density including publication bias adjustments. This represents the expected distribution of z-statistics given the estimated selection process.
Bias-corrected curve representing the hypothetical distribution without selective reporting, scaled by the expected suppressed studies under selection models. This curve is not normalized to integrate to one when selection implies missing studies.
hist.zplot_brma(), lines.zplot_brma(), summary.zplot_brma()