Description Usage Arguments Value
This function returns a data.table of plot-ready data with one row per group (per panel). Column 'table' contains a nested data.table of z-values for plotting. This table has a column for each x-axis entry and a row for each y-axis entry. Columns 'group' and 'panel' specify the group the series data belongs to. There are two ways to calculate z-values for the heatmap. 1) 'collection' of numeric variables vs single categorical 2) single numeric vs single categorical on a 'series' of dates where yAxisVariable = categorical, xAxisVariable = date and zaxis = numeric
1 | heatmap.dt(data, map, value)
|
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 which of the three methods to use to calculate z-values ('collection', 'series') |
data.table plot-ready data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.