Function reference
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_nba_logos()
- ggplot2 Layer for Visualizing NBA Team Logos
-
geom_wnba_logos()
- ggplot2 Layer for Visualizing WNBA Team Logos
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.
-
scale_color_nba()
scale_colour_nba()
scale_fill_nba()
scale_color_wnba()
scale_colour_wnba()
scale_fill_wnba()
- Scales for NBA & WNBA Team Colors
-
gt_nba_cols_label()
- Render Logos in 'gt' Table Column Labels
-
gt_nba_logos()
- Render NBA Logos in 'gt' Tables
-
gt_wnba_logos()
- Render WNBA Logos in 'gt' Tables
Theme Elements
Themes control the display of all non-data elements of the plot. Theme elements can tweak individual settings inside theme()
.
-
element_nba_logo()
element_wnba_logo()
- Theme Elements for Image Grobs
-
clean_team_abbrs()
- Standardize NBA/WNBA Team Abbreviations
-
valid_team_names()
- Output Valid NBA or WNBA Team Abbreviations
-
nba_team_abbr_mapping
- Alternate NBA Team Abbreviation Mapping
-
wnba_team_abbr_mapping
- Alternate WNBA Team Abbreviation Mapping