Skip to content

Commit

Permalink
fix aesthetic naming in nflplotR
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcaseb committed Jul 11, 2023
1 parent e9f466c commit 2b87ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/beginners_guide.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ offense %>%
# tier lines
ggplot2::geom_abline(slope = -1.5, intercept = (4:-3)/10, alpha = .2) +
# nflplotR magic
nflplotR::geom_mean_lines(aes(h_var = off_epa, v_var = def_epa)) +
nflplotR::geom_mean_lines(aes(y0 = off_epa, x0 = def_epa)) +
nflplotR::geom_nfl_logos(aes(team_abbr = team), width = 0.07, alpha = 0.7) +
ggplot2::labs(
x = "Offense EPA/play",
Expand Down

0 comments on commit 2b87ba1

Please sign in to comment.