Learn R Programming

ggredist (version 0.0.4)

scale_fill_538: FiveThirtyEight scales for ggplot2

Description

FiveThirtyEight scales for ggplot2

Usage

scale_fill_538(...)

scale_color_538(...)

Value

ggplot scale function

Arguments

...

additional arguments to ggplot::scale_* functions

Examples

Run this code
library(ggplot2)
data(oregon)

ggplot(oregon, aes(fill = ndv / (ndv + nrv))) +
    geom_sf(size = 0) +
    scale_fill_538(name = '') +
    theme_map()

Run the code above in your browser using DataLab