scale_fill_prs: discrete ggplot colour scale of PRS colors

View source: R/palletes.R

scale_fill_prsR Documentation

discrete ggplot colour scale of PRS colors

Description

discrete ggplot fill scale

Usage

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

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 arguments

Value

colour scale for use with ggplot()

Author(s)

Mandy Vogel


childsds documentation built on April 4, 2025, 1:49 a.m.