Description Usage Arguments Examples
View source: R/rhandsontable.R
Add heatmap to table.
1 | hot_heatmap(hot, cols, color_scale = c("#ED6D47", "#17F556"), renderer = NULL)
|
hot |
rhandsontable object |
cols |
numeric vector of columns to include in the heatmap. If missing all columns are used. |
color_scale |
character vector that includes the lower and upper colors |
renderer |
character defining a Javascript function to be used
to determine the cell colors. If missing,
|
1 2 3 4 5 | MAT = matrix(rnorm(50), nrow = 10, dimnames = list(LETTERS[1:10],
letters[1:5]))
rhandsontable(MAT) %>%
hot_heatmap()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.