Description Usage Arguments Value Examples
plots the distribution of each group as a boxplot + a violinplot with the data jittered
1 2 |
y |
either a list where len(list) == # of groups, or a dataframe |
colors |
colors to use for the violinplots. defaults to viridis colors |
lab |
labels for the groups. Each must be unique. |
point_size |
size of the plotting characters for the data |
height |
controls the size of the violinplots. defaults to 0.4 but your mileage will vary |
point_color |
color of the plotting characters |
a list of length 2. First element of the list is your data coerced into a data.table. Second element is the group names.
1 2 | violinplot2(PlantGrowth, height=0.2)
violinplot2(iris %>% select(Species, Sepal.Length), xlab= "species", ylab="sepal length")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.