View source: R/colorised_datatable.R
colorised_datatable | R Documentation |
Colorise or draw column for all numeric or selected columns (chr vector) of a data.frame
colorised_datatable(.data, .cols = NULL, type = "bg-color", ...)
.data |
A data.frame. |
.cols |
Columns to colorise (by default all the numrical columns). |
type |
"bar" or "bg-color" (default). |
colorised_datatable(iris, "Sepal.Length", type = "bar")
colorised_datatable(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.