piano | R Documentation |
The piano plot, introduced in this function on Feb 15, 2022, is based on the violin plot and, likewise, supposed to improve information density of the plot.
piano(data, plot_x = NULL)
data |
dataframe |
plot_x |
x (defaults to second column in dataframe) |
A piano plot of the data.
piano(data.frame(a = 1, x = runif(100))) # a is an arbitrary first column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.