Skip to contents

Functions

Functions included in this data set.

are_fonts_installed()
Check if you have the fonts you need already installed on your computer
deut() prot() trit() achrom() cvdplot()
Color Vision Deficiency Simulation Tools
example_plot()
Create an example plot (in ggplot2) for experimenting with different styles
adj_font_size()
Miscellaneous functions for fine-tuning ggplot2 plots
g_c()
Get a Custom Color from steve_hex
how_to_install_fonts()
Learn how to install fonts on your computer
lighten_hex()
Whiten an RGB Hex Value
no_gridlines() make_classic() no_axes()
Miscellaneous functions to make your ggplot2 plot "print-ready"
spal()
Load a palette as a character vector
swatchplot() splt()
Create a Swatchplot of Palettes
theme_steve()
Steve's Preferred ggplot2 Theme

Datasets

Example data sets available to use for illustration purposes.

SC26SE
2026 United States Senate election in South Carolina
anesprotect
Support for Trade Protectionism in the U.S., 2012 and 2020
brandy
Brandy, 1942-2017
britneywork
The Civilian Unemployment Rate, 2013-2018
cowwaryears
Correlates of War War Counts, by Year (1816-2007)
imfquotas
IMF Quotas, Special Drawing Rights
kwh_gdp
Kilowatt Hours per Capita and GDP per Capita, 2010
martel_ratings
CAGEMATCH Ratings of Rick Martel
oilrents
Oil Rents and GDP per Capita, Over Time
palettes
Palettes Available in This Package
se_counties_gdppc
GDP per Capita of Swedish Counties, 2001-2020
steve_hex
Some Hex Triplets I Find Useful/Interesting/Fun
uspopgengroup
U.S. Population Size, by Birth Cohort (Generation) and Race/Ethnic Category