
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.
palette_message(package, palette, min_length)
Name of package from which the palette is desired as string or symbol.
Name of palette as string or symbol.
Minimum number of colors needed.
Other helper_messages: bartlett_message
,
ggcorrmat_matrix_message
,
grouped_message
,
normality_message
# NOT RUN {
ggstatsplot:::palette_message(
package = "RColorBrewer",
palette = "Dark2",
min_length = 20
)
# }
Run the code above in your browser using DataLab