ojo_fill: Add OJO styling to a ggplot

View source: R/ojo_colors.R

ojo_fillR Documentation

Add OJO styling to a ggplot

Description

Add OJO styling to a ggplot

Usage

ojo_fill(numbers = 1:8)

Arguments

numbers

A vector of numbers to use for the color palette

Examples

## Not run: 
ggplot(ojo_example, aes(file_year, n_cases, color = court)) +
  geom_line(size = 1.5) +
  theme_ojo() +
  ojo_color() +
  scale_x_continuous(
    breaks = 2010:2019,
    limits = c(NA, 2019)
  )

## End(Not run)


openjusticeok/ojodb documentation built on Aug. 4, 2024, 3:25 p.m.