Use hrbrthemes in ggplot2
masterTo use the themes and scales, load the library along with tidyverse or ggplot2.
library(hrbrthemes)
library(tidyverse)
# Example: Using the base theme (Arial Narrow)
ggplot(mtcars, aes(mpg, wt)) +
geom_point() +
labs(x="Fuel efficiency (mpg)", y="Weight (tons)",
title="Seminal ggplot2 scatterplot example",
subtitle="A plot that is only useful for demonstration purposes",
caption="Brought to you by the letter 'g'") +
theme_ipsum()library(hrbrthemes)
library(gcookbook)
library(tidyverse)