baggr_compare
stylePlot single comparison ggplot in baggr_compare
style
single_comp_plot(
df,
title = "",
legend = "top",
ylab = "",
grid = F,
points = FALSE,
add_values = FALSE,
values_digits = 1,
values_size = 4
)
a ggplot2
object
data.frame with columns group
, median
, lci
, uci
,
model
(character or factor listing compared models) and,
optionally, parameter
(character or factor with name of parameter)
ggtitle
argument passed to ggplot
legend.position
argument passed to ggplot
Y axis label
logical; if TRUE
, facets the plot by values in the parameter
column
you can optionally specify a (numeric
) column that has values of points
to be plotted next to intervals
logical; if TRUE
, values will be printed next to the plot,
in a style that's similar to what is done for forest plots
number of significant digits to use when printing values,
size of font for the values, if add_values == TRUE