powered by
Extracts study effects from the baggr model and sends them to one of bayesplot package plotting functions.
baggr
bayesplot
baggr_plot(bg, mean = FALSE, style = "intervals", prob = 0.5, prob_outer = 0.95, vline = TRUE, order = TRUE, ...)
object of class baggr
logical; plot mean treatment effect alongside individual study effects?
one of areas, intervals
areas
intervals
Probability mass for the inner interval in visualisation
Probability mass for the outer interval in visualisation
logical; show vertical line through 0 in the plot?
logical; sort groups by magnitude of treatment effect?
extra arguments to pass to the bayesplot functions
ggplot2 object
bayesplot::MCMC-intervals
# NOT RUN { fit <- baggr(schools, pooling = "none") plot(fit) plot(fit, style = "areas", order = FALSE) # }
Run the code above in your browser using DataLab