Skip to contents

Geoms

geom_mlb_dark_cap_logos() geom_mlb_light_cap_logos()
ggplot2 Layer for Visualizing MLB Team Cap Logos
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_milb_logos() geom_milb_light_cap_logos() geom_milb_dot_logos()
ggplot2 Layer for Visualizing MiLB Team Logos
geom_mlb_headshots() geom_mlb_dot_headshots() geom_milb_dot_headshots()
ggplot2 Layer for Visualizing MLB/MiLB Player Headshots
geom_mlb_logos() geom_mlb_scoreboard_logos() geom_mlb_dot_logos()
ggplot2 Layer for Visualizing MLB Team Logos

GT

gt_merge_stack_team_color()
Merge and stack text from two columns in gt and color one with team colors
gt_fmt_milb_logo() gt_fmt_milb_dot_logo()
Add MiLB team logos into rows of a gt table
gt_fmt_mlb_logo() gt_fmt_mlb_scoreboard_logo() gt_fmt_mlb_dot_logo()
Add MLB team logos into rows of a gt table
gt_mlb_column_labels()
Replace Team Abbreviations/Player IDs With Images In Column Labels
gt_fmt_mlb_headshot() gt_fmt_mlb_dot_headshot() gt_fmt_milb_dot_headshot()
Render Player Headshots in 'gt' Tables

Theme Elements

Scales

Tiers

mlb_player_tiers()
Create MLB Player Tiers
mlb_team_tiers()
Create MLB Team Tiers

Utilities

load_mlb_teams()
Load MLB Team Colors, and Logos
load_milb_teams()
Load MiLB Team Colors, and Logos
load_headshots()
Output MLB Team Abbreviations
clean_team_abbrs()
Standardize MLB Team Abbreviations
valid_team_names()
Output Valid MLB Team Abbreviations
mlb_team_factor()
Create Ordered MLB Team Factor
ggpreview()
Preview ggplot in Specified Dimensions

Superceded

theme_x_mlb() theme_y_mlb() superseded
Theme for MLB Team Logos
scale_x_mlb() scale_y_mlb() superseded
Axis Scales for MLB Team Logos