View source: R/color_pallete.R
color_pallete | R Documentation |
design-quality color palletes to use in ggplot2
color_pallete(pallete)
pallete |
pallete number or name |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.