Learn R Programming

formattable (version 0.2.1)

proportion_bar: Create a color-bar formatter using proportion

Description

Create a color-bar formatter using proportion

Usage

proportion_bar(color = "lightgray", ...)

Arguments

color

the background color of the bars

...

additional parameters passed to proportion

See Also

color_bar, proportion

Examples

Run this code
# NOT RUN {
formattable(mtcars, list(mpg = proportion_bar()))
# }

Run the code above in your browser using DataLab