View source: R/ggplot_functions.R
dots_and_bars | R Documentation |
Deprecated! Use stat_dots_and_bar
instead!
Adds a dotplot, 95\
to a ggplot object. Almost identical to errorbars
, but
with the obvious additional geom_dotplot
.
Right now, only uses default values for error bars
dots_and_bars( gg_obj, binaxis = "y", stackdir = "center", dotsize = 0.5, alpha = 0.2, ... )
gg_obj |
The ggplot object (i.e., what is built up from |
binaxis |
Set by default to "y" |
stackdir |
Set by default to "center" |
dotsize |
Set by default to 0.5 |
alpha |
Set by default to 0.2 |
... |
Additional arguments for the |
## Not run: ggplot(df, aes(x=x,y=y)) %+% geom_point() %>% dots_and_bars() + xlab("WHAAAT") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.