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: 0x55ee487d5b68>
#> <environment: 0x55ee47328920>
#> attr(,"max_n")
#> [1] 8