Description Usage Arguments X as list
Turn a data.frame into a list
1 |
data |
A data.frame. |
valid_caes |
Valid aesthetics. |
x_as_list |
Whether to plot each x as a sublist. |
Default data format is
[{x:1, y:2}, {x:1, y:3}, {x:2, y:3}, {x:2, y:5}]
with x_as_list
set to TRUE
each x is as a list
so the data looks like:
[[2,3],[3,5]]
Currently used for boxplot and violin plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.