Spaces:
Running
Running
Update app.R
Browse files
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" =
|
| 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 |
) +
|