Plotting method in baggr package
Extracts study effects from the baggr model and sends them to
one of bayesplot package plotting functions.
baggr_plot( bg, hyper = FALSE, style = "intervals", transform = NULL, prob = 0.5, prob_outer = 0.95, vline = TRUE, order = TRUE, ... )
bg |
object of class |
hyper |
logical; show hypereffect as the last row of the plot? |
style |
one of |
transform |
a function (e.g. |
prob |
Probability mass for the inner interval in visualisation |
prob_outer |
Probability mass for the outer interval in visualisation |
vline |
logical; show vertical line through 0 in the plot? |
order |
logical; sort groups by magnitude of treatment effect? |
... |
extra arguments to pass to the |
ggplot2 object
Witold Wiecek, Rachael Meager
bayesplot::MCMC-intervals for more information about bayesplot functionality; forest_plot for a typical meta-analysis alternative; effect_plot for plotting treatment effects for a new group
fit <- baggr(schools, pooling = "none") plot(fit) plot(fit, style = "areas", order = FALSE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.