plot_horizontal_dotplot.Rd
Creates a horizontal dot plot using custom ggplot theme, as an alternative to grouped bar charts.
plot_horizontal_dotplot(
data,
x_str,
y_str,
color_str = NULL,
line_size = 1,
line_color = "darkgray",
point_size = 8,
theme_options = NULL,
show_plot = FALSE,
...
)
Data frame to use for plot.
Character string. Name of variable in data
to plot on
x-axis.
Character string. Name of variable in data
to plot on
y-axis.
Character string (optional). Name of variable in data
to use as color aesthetic in plot.
Size of line, representing range of values.
Color of line, representing range of values.
Size of point.
(Optional) list of arguments to pass to vthemes::theme_vmodern().
Logical. Should this plot be printed? Default FALSE
.
Other arguments to pass to [ggplot2::geom_point()].
A ggplot object