| bb_bar | R Documentation |
boxplot layer
histogram layer
layer
significance layer
bb_bar(mapping = NULL, data = NULL, stat = "identity", width = 0.9, ...)
bb_boxplot(mapping = NULL, data = NULL, ...)
bb_errorbar(mapping = NULL, data = NULL, orientation = "y", width = 0.5, ...)
bb_hist(mapping = NULL, data = NULL, ...)
bb_line(mapping = NULL, data = NULL, ...)
bb_lm(mapping = NULL, data = NULL, ...)
bb_point(mapping = NULL, data = NULL, position = "identity", ...)
bb_segment(mapping = NULL, data = NULL, ...)
bb_signif(mapping = NULL, data = NULL, ...)
bb_text(mapping = NULL, data = NULL, ...)
bb_tile(mapping = NULL, data = NULL, ...)
mapping |
aesthetic mapping |
data |
layer data |
stat |
one of 'identity' or 'count' |
width |
bar width or errorbar cap width |
... |
addition parameter for the layer |
orientation |
one of 'y' or 'x' |
position |
one of 'identity' or 'jitter' |
bbplot layers
A modified bbplot object
A modified bbplot object
A modified bbplot object
A modified bbplot object
Guangchuang Yu
library(plotbb)
p <- bbplot(mtcars, bb_aes(mpg, disp, col=factor(cyl))) +
bb_point() + bb_lm(bb_aes(group=cyl), lwd=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.