Generate list of default color names.
Arguments
- n
The number of colors to return from the list.
Value
A character vector of color names, which is recycled as needed.
Details
Used for Pmetrics plots. The following list is recycled as necessary to generate the
requested number of colors.
c("red", "green", "blue", "brown", "black", "purple", "pink", "gold", "orange", "grey60")
Examples
getDefaultColors(6)
#> [1] "red" "green" "blue" "brown" "black" "purple"