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