get_rave_theme: Get RAVE Theme from Package Settings

get_rave_themeR Documentation

Get RAVE Theme from Package Settings

Description

Get RAVE Theme from Package Settings

Arguments

packages

packages to check

type

characters, "continuous", "discrete", or both

theme

"light" or "dark"; default is current theme saved in rave_options('current_theme')

session

shiny session

Value

A list contains all palettes found in the packages.

Examples

pal = get_rave_theme('rave', type = c('continuous', 'discrete'), theme='light')
print(pal, plot=TRUE)

pal = get_rave_theme('rave', type = c('continuous', 'discrete'), theme='dark')
print(pal, plot=TRUE)


beauchamplab/rave documentation built on Feb. 23, 2024, 7:20 a.m.