dotPlotStack | R Documentation |
Add a stacked dot plot to an existing plot. The locations for the points in the dot plot are returned from the function in a list.
dotPlotStack(x, radius = 1, seed = 1, addDots = TRUE, ...)
x |
A vector of numerical observations for the dot plot. |
radius |
The approximate distance that should separate each point. |
seed |
A random seed (integer). Different values will produce different variations. |
addDots |
Indicate whether the points should be added to the plot. |
... |
Additional arguments are passed to
|
Returns a list with a height that can be used as the upper bound of ylim for a plot, then also the x- and y-coordinates of the points in the stacked dot plot.
David Diez
dotPlot
, histPlot
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.