This is a simplified and customized version of graphics::dotchart()
.
plot_dots(
x,
xlim = c(0, max(x)),
main = "Dotchart",
xlab = "Frequency",
col = palette.colors(2L)[2L],
pch = 19L
)
numeric
, values to plot.
numeric(2)
, limits of the x-axis.
character(1)
, plot title.
character(1)
, x-axis label.
integer
/character
, color of the dots.
integer
/character
, point character/symbol of the dots.
nothing, used for its side-effects (plotting).