Generate a discrete PHA color palette

pha_pal_discrete(direction = 1, repeat_pal = FALSE)

Arguments

direction

If -1, reverse the palette; defaults to 1

repeat_pal

If TRUE, repeat the palette enough times to account for all discrete values

Value

n colors (generally passed to ggplot2)