coursekata_palette_provider: Create a function that provides a colorblind palette.

View source: R/theme_coursekata.R

coursekata_palette_providerR Documentation

Create a function that provides a colorblind palette.

Description

Create a function that provides a colorblind palette.

Usage

coursekata_palette_provider()

Value

A function that accepts one argument n, which is the number of colors you want to use in the plot. This function is used by scales like scale_color_discrete to provide colorblind- safe palettes. See scale_discrete_coursekata for more information.


UCLATALL/coursekata-r documentation built on Aug. 24, 2023, 8:54 p.m.