Skip to contents

Example on a ggplot2 image

library(ggplot2)
library(rogtemplate)

# counts (or sums of weights)
g <- ggplot(mpg, aes(class))

# Number of cars in each class:
g + geom_bar(fill = rog_orange_pal(1))
A ggplot2 image

A ggplot2 image