Description Usage Arguments Value
This function returns a data.table of plot-ready data with one row per group (per panel). Columns 'label' and 'value' contain the raw data for plotting. Column 'group' and 'panel' specify the group the series data belongs to. There are two options to calculate y-values for plotting. 1) raw 'identity' of values from data.table input 2) 'count' occurances of values from data.table input
1 |
data |
data.frame to make plot-ready data for |
map |
data.frame with at least two columns (id, plotRef) indicating a variable sourceId and its position in the plot |
value |
String indicating how to calculate y-values ('identity', 'count') |
data.table plot-ready data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.