Skip to contents

Color-blind Palette for SSD Plots

Usage

ssd_pal()

Value

A character vector of a color blind palette with 8 colors.

Examples

ssd_pal()
#> function (n) 
#> {
#>     n_values <- length(values)
#>     if (n > n_values) {
#>         cli::cli_warn("This manual palette can handle a maximum of {n_values} values. You have supplied {n}")
#>     }
#>     unname(values[seq_len(n)])
#> }
#> <bytecode: 0x562cc616e9b8>
#> <environment: 0x562cc0684c00>
#> attr(,"max_n")
#> [1] 8