Learn R Programming

childsds (version 0.9.11)

scale_colour_prs: discrete ggplot colour scale of PRS colors

Description

discrete ggplot colour scale

Usage

scale_colour_prs(
  pal = "orig",
  primary = "blue",
  other = "violet",
  direction = 1,
  ...
)

Value

colour scale for use with ggplot()

Arguments

pal

orig, sat, or bright

primary

primary colour of two

other

the other colour

direction

if -1 one order of colours is reversed

...

further argument

Author

Mandy Vogel