Description Usage Arguments Value Examples
plots the distribution of each group as a boxplot + half a violinplot with the data jittered
1 2 | violinplot(y, colors = "viridis", lab = NA, point_size = 1,
height = 0.4, ...)
|
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 |
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 | violinplot(PlantGrowth)
violinplot(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.