Jack Kennedy shows off a function:
The
theme()
function in {ggplot2} is awesome. Although it’s only one function, it gives you so much control over your final plot.theme()
allows us to generate a consistent, in-house style for our graphics, modify the text within our plots and more. Getting comfortable withtheme()
will really take your {ggplot2} skills up a notch.
Theming visuals can have an outsized impact on how easy the output is to understand, so understanding how theme()
works is important. Also, if your company has specific theming or marketing standards, you can usually build them with the theme()
function and then save that theme for reuse later.