color_pallete: design-quality color palletes to use in ggplot2

View source: R/color_pallete.R

color_palleteR Documentation

design-quality color palletes to use in ggplot2

Description

design-quality color palletes to use in ggplot2

Usage

color_pallete(pallete)

Arguments

pallete

pallete number or name

Examples

library(PKPDmisc)
library(ggplot2)
library(dplyr)
ggplot(sd_oral_richpk %>% filter(ID < 10), 
aes(x = Time,
y= Conc, 
group = ID, 
color = Gender)) + 
  geom_line(size = 1.5) + scale_color_manual(values =color_pallete(1)) +
  base_theme()

metrumresearchgroup/PKPDmisc documentation built on Oct. 21, 2022, 9:41 a.m.