Learn R Programming

colorDF (version 0.1.7)

get_colorDF_theme: Return a style defined in a theme

Description

Return a style defined in a theme

Usage

get_colorDF_theme(theme)

Value

A list with the definitions of style

Arguments

theme

name

Examples

Run this code
get_colorDF_theme("bw")

## use it to change the style of a colorDF
foo <- colorDF(mtcars)
df_style(foo) <- get_colorDF_theme("wb")
## Slightly modify the style
df_style(foo)$type.styles$pval$fg_sign <- "red"

Run the code above in your browser using DataLab