| survivor_pal | R Documentation | 
ggplot2 scales for each season of Survivor.
survivor_pal(season = NULL, scale_type = "d", reverse = FALSE, ...)
scale_fill_survivor(season = NULL, scale_type = "d", reverse = FALSE, ...)
scale_colour_survivor(season = NULL, scale_type = "d", reverse = FALSE, ...)
season | 
 Season number  | 
scale_type | 
 Discrete or continuous.  Input   | 
reverse | 
 Logical. Reverse the palette?  | 
... | 
 Other arguments passed on to methods.  | 
Palettes are created from the logo for the season.
Scale functions for ggplot2
Scale functions for ggplot2
Scale functions for ggplot2
library(ggplot2)
library(dplyr)
mpg %>%
  ggplot(aes(x = displ, fill = manufacturer)) +
  geom_histogram(colour = "black") +
  scale_fill_survivor(40)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.