igroffman commited on
Commit
ffae48a
·
verified ·
1 Parent(s): b167909

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +1 -1
app.R CHANGED
@@ -1500,7 +1500,7 @@ create_tableau_location_plot <- function(pitcher_df, pitch_colors) {
1500
  scale_color_manual(values = pitch_colors, name = "Pitch") +
1501
  scale_shape_manual(
1502
  values = c("Ball" = 1, "2B" = 18, "Foul" = 2, "HBP" = 8,
1503
- "Sac" = 3, "1B" = 19, "Called" = 4, "Whiff" = 8,
1504
  "3B" = 17, "HR" = 18, "Out" = 4, "Other" = 16),
1505
  name = "Result"
1506
  ) +
 
1500
  scale_color_manual(values = pitch_colors, name = "Pitch") +
1501
  scale_shape_manual(
1502
  values = c("Ball" = 1, "2B" = 18, "Foul" = 2, "HBP" = 8,
1503
+ "Sac" = 3, "1B" = 19, "Called" = 5, "Whiff" = 8,
1504
  "3B" = 17, "HR" = 18, "Out" = 4, "Other" = 16),
1505
  name = "Result"
1506
  ) +