Learn R Programming

formattable (version 0.1.5)

color_bar: Create a color-bar formatter

Description

Create a color-bar formatter

Usage

color_bar(color, ...)

Arguments

color
the background color of the bars
...
parameters passed to normalize function.

Examples

Run this code
formattable(mtcars, list(mpg = color_bar("pink", 0.2)))

Run the code above in your browser using DataLab