Spaces:
Build error
Build error
Update app.R
Browse files
app.R
CHANGED
|
@@ -137,7 +137,7 @@ break_plot_Szn <- function(game, data1, sdate, edate) {
|
|
| 137 |
y = "Induced Vertical Break (in)",
|
| 138 |
title = title,
|
| 139 |
subtitle = paste0("Arm Angle: ", angle_degrees, "\u00b0"),
|
| 140 |
-
caption = "Data: MLB | Viz: @TimStats | tim-stats.com\nEllipses show average
|
| 141 |
) +
|
| 142 |
xlim(-25, 25) +
|
| 143 |
ylim(-25, 25) +
|
|
@@ -268,7 +268,7 @@ break_plot_tot <- function(game, data1, sdate, edate) {
|
|
| 268 |
y = "Induced Vertical Break (in)",
|
| 269 |
title = title,
|
| 270 |
subtitle = paste0("Arm Angle: ", angle_degrees, "\u00b0"),
|
| 271 |
-
caption = "Data: MLB | Viz: @TimStats | tim-stats.com\nEllipses show average
|
| 272 |
) +
|
| 273 |
xlim(-25, 25) +
|
| 274 |
ylim(-25, 25) +
|
|
|
|
| 137 |
y = "Induced Vertical Break (in)",
|
| 138 |
title = title,
|
| 139 |
subtitle = paste0("Arm Angle: ", angle_degrees, "\u00b0"),
|
| 140 |
+
caption = "Data: MLB | Viz: @TimStats | tim-stats.com\nEllipses show average movement for same-handed pitchers at similar arm angles"
|
| 141 |
) +
|
| 142 |
xlim(-25, 25) +
|
| 143 |
ylim(-25, 25) +
|
|
|
|
| 268 |
y = "Induced Vertical Break (in)",
|
| 269 |
title = title,
|
| 270 |
subtitle = paste0("Arm Angle: ", angle_degrees, "\u00b0"),
|
| 271 |
+
caption = "Data: MLB | Viz: @TimStats | tim-stats.com\nEllipses show average movement for same-handed pitchers at similar arm angles"
|
| 272 |
) +
|
| 273 |
xlim(-25, 25) +
|
| 274 |
ylim(-25, 25) +
|