plot_bee | R Documentation |
Draw a beeswarm plot
plot_bee(
data,
x,
y,
bar.width = 0.5,
err.width = 0.15,
xlab = x,
ylab = y,
xlabels = levels(data[[x]]),
se = F,
cex = 2.5,
dot = T,
shape = rep(16, 10),
bar_graph = F
)
data |
a dataframe to be used |
x |
a variable for x-axis |
y |
a variable for y-axis |
bar.width |
mean bar width |
err.width |
error bar width |
xlab |
x-axis label |
ylab |
y-axis label |
xlabels |
labels of x-axis groups |
se |
SE (T) or 95% CI (F) |
cex |
size of the dots |
dot |
revealing dots or not |
shape |
shape of the dots |
bar_graph |
bar_graph (T) or beeswarm graph (F) |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.