Scale for college football team colorsSource:
These functions allows you to map college football team names as levels to the color and fill aesthetics
scale_color_cfb( alt_colors = NULL, values = NULL, ..., aesthetics = "colour", breaks = ggplot2::waiver(), na.value = "grey50", guide = NULL, alpha = NA ) scale_colour_cfb( alt_colors = NULL, values = NULL, ..., aesthetics = "colour", breaks = ggplot2::waiver(), na.value = "grey50", guide = NULL, alpha = NA ) scale_fill_cfb( alt_colors = NULL, values = NULL, ..., aesthetics = "fill", breaks = ggplot2::waiver(), na.value = "grey50", guide = NULL, alpha = NA )
Vector of team names to use the alternate color of.
NULL(the default) use the internal team color vectors. Otherwise a set of aesthetic values to map data values to. The values will be matched in order (usually alphabetical) with the limits of the scale, or with
breaksif provided. If this is a named vector, then the values will be matched based on the names instead. Data values that don't match will be given
Arguments passed on to scale_color_manual
Character string or vector of character strings listing the name(s) of the aesthetic(s) that this scale works with. This can be useful, for example, to apply colour settings to the
fillaesthetics at the same time, via
aesthetics = c("colour", "fill").
NULLfor no breaks
waiver()for the default breaks (the scale limits)
A character vector of breaks
A function that takes the limits as input and returns breaks as output
The aesthetic value to use for missing (
A function used to create a guide or its name. If
NULL(the default) no guide will be plotted for this scale. See
ggplot2::guides()for more information.
Factor to modify color transparency via a call to
NA(the default) no transparency will be applied. Can also be a vector of alphas. All alpha levels must be in range