Learn R Programming

stevethemes: Steve’s ggplot2 Themes and Related Theme Elements

stevethemes is an R package including various {ggplot2} themes and theme elements that I find useful and aesthetically pleasing. It also includes some various helper functions for adjusting plots to taste for either the web or a printed manuscript. Its use heavily implies, but does not formally require, free fonts you can download from Google. In particular, it suggests use of Titillium Web, Open Sans, Fira Sans, and Crimson Pro. The package has simple forms of these fonts available for you to install on your computer, though you can easily download these fonts (and more) from Google as well.

Installation

You can install this on CRAN.

install.packages("stevethemes")

The development version may also have some extra goodies not yet published on CRAN. You can install the development version of stevethemes from Github via the devtools package. I suppose using the remotes package would work as well.

devtools::install_github("svmiller/stevethemes")

Copy Link

Version

Install

install.packages('stevethemes')

Monthly Downloads

139

Version

0.1.0

License

MIT + file LICENSE

Maintainer

Steven Miller

Last Published

January 31st, 2023

Functions in stevethemes (0.1.0)

kwh_gdp

Kilowatt Hours per Capita and GDP per Capita, 2010
g_c

Get a Custom Color from steve_hex
adj_font_size

Miscellaneous functions for fine-tuning ggplot2 plots
theme_steve

Steve's Preferred ggplot2 Themes and Assorted Stuff
no_gridlines

Miscellaneous functions to make your ggplot2 plot "print-ready"
example_plot

Create an example plot (in ggplot2) for experimenting with different styles
martel_ratings

CAGEMATCH Ratings of Rick Martel
se_counties_gdppc

GDP per Capita of Swedish Counties, 2001-2020
steve_hex

Some Hex Triplets I Find Useful/Interesting/Fun