Skip to contents

Adds a named color dictionary at runtime so it can be used by group_colors() and the groupmap scales.

Usage

register_group_dictionary(name, values, overwrite = FALSE)

Arguments

name

Dictionary name.

values

Named character vector of colors.

overwrite

Whether to overwrite an existing registered dictionary.

Value

The registered dictionary, invisibly.