This plot shows relationship between proportions of events in control and treatment groups in binary data.
labbe(
data,
group = "group",
plot_model = FALSE,
labels = TRUE,
shade_se = c("rr", "or", "none")
)A ggplot object
a data frame with binary data
(must have columns a, c, b/n1, d/n2)
a character string specifying group names (e.g. study names), used for labels;
if TRUE, then odds ratios and risk ratios baggr models are estimated (using default
settings) and their mean estimates of effects are plotted as lines
if TRUE, names from the group column are displayed
if "none", nothing is plotted, if "or" or "rr", a shaded area corresponding to
inverse of effect's (OR or RR) SE is added to each data point; the default is "rr"
vignette("baggr_binary") for an illustrative example