color_by | R Documentation |
Color by
color_by(data, var, colors, na.rm = TRUE)
data |
DT::datatable object |
var |
character string with column name to color |
colors |
vector of colors to use |
na.rm |
whether NA values should be removed (default is FALSE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.