Skip to contents

Geoms

ggplot2 geoms (geometric objects) that create a layer(). A layer combines data, aesthetic mapping, a geom (geometric object), a stat (statistical transformation), and a position adjustment.

geom_from_path()
ggplot2 Layer for Visualizing Images from URLs or Local Paths
geom_median_lines() geom_mean_lines()
ggplot2 Layer for Horizontal and Vertical Reference Lines
geom_nfl_headshots()
ggplot2 Layer for Visualizing NFL Player Headshots
geom_nfl_logos()
ggplot2 Layer for Visualizing NFL Team Logos
geom_nfl_wordmarks()
ggplot2 Layer for Visualizing NFL Team Wordmarks

Theme Elements

Themes control the display of all non-data elements of the plot. Theme elements can tweak individual settings inside theme().

Scales

Scales control the details of how data values are translated to visual properties. Override the default scales to tweak details like the axis labels or legend keys, or to use a completely different translation from data to aesthetic.

Tables

Utility functions that work with the gt package to create html tables.

gt_nfl_cols_label()
Render Logos, Wordmarks, and Headshots in 'gt' Table Column Labels
gt_nfl_headshots()
Render Player Headshots in 'gt' Tables
gt_nfl_logos() gt_nfl_wordmarks()
Render Logos and Wordmarks in 'gt' Tables
gt_render_image()
Render 'gt' Table to Temporary png File

Utilities

Various helper functions.

ggpreview()
Preview ggplot in Specified Dimensions
nfl_team_factor()
Create Ordered NFL Team Name Factor
nfl_team_tiers()
Create NFL Team Tiers
valid_team_names()
Output Valid NFL Team Abbreviations
.nflplotR_clear_cache()
Clear nflplotR Cache
nflverse_sitrep
Get a Situation Report on System, nflverse Package Versions and Dependencies