stat_bindot(mapping = NULL, data = NULL,
geom = "dotplot", position = "identity",
binwidth = NULL, origin = NULL, width = 0.9,
binaxis = "x", method = "dotdensity",
binpositions = "bygroup", drop = FALSE, right = TRUE,
na.rm = FALSE, ...)
method
is "dotdensity, this
specifies maximum bin width. When method
is
"histodot", this specifies bin width. Defaults to 1/30
of the range of the datamethod
is "dotdensity",
"bygroup" (default) determines positions of the bins for
each group separately. "all" determines positions of the
bins with all the data taken together; this is used for
aligning dot stacks across multiplemethod
is "histodot", origin of
first binmethod
is "histodot", should
intervals be closed on the right (a, b], or not [a, b)binaxis
is "y", the spacing of
the dot stacks for dodging.FALSE
(the default), removes
missing values with a warning. If TRUE
silently
removes missing values.aes
or aes_string
. Only
needs to be set at the layer level if you are overriding
the plot defaults.# See geom_dotplot for examples
Run the code above in your browser using DataLab