palette_message

0th

Percentile

Message if palette doesn't have enough number of colors.

A note to the user about not using the default color palette when the number of factor levels is greater than 8, the maximum number of colors allowed by "Dark2" palette from the RColorBrewer package.

Keywords
internal
Usage
palette_message(package, palette, min_length)
Arguments
package

Name of package from which the palette is desired as string or symbol.

palette

Name of palette as string or symbol.

min_length

Minimum number of colors needed.

See Also

Other helper_messages: bartlett_message, effsize_ci_message, ggcorrmat_matrix_message, grouped_message, normality_message, pairwise_p

Aliases
  • palette_message
Examples
# NOT RUN {
ggstatsplot:::palette_message(
  package = "RColorBrewer",
  palette = "Dark2",
  min_length = 20
)
# }
Documentation reproduced from package ggstatsplot, version 0.0.11, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.