TimStats commited on
Commit
36a14a5
·
verified ·
1 Parent(s): 2f6c831

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +2 -2
app.R CHANGED
@@ -441,7 +441,7 @@ server <- function(input, output,session) {
441
  current_data <- apply_percentile_calcs(data %>% select(-BIP)) %>%
442
  filter(`Batter.Name` == input$player) %>%
443
  mutate(metric = factor(metric, levels = c(
444
- "wOBA", "wOBACON", "xwOBA", "xwOBACON",
445
  "Avg EV", "EV90", "Max EV",
446
  "stdev(LA)", "Barrel%",
447
  "Z-Con%", "Z-Swing%", "O-Con%",
@@ -554,7 +554,7 @@ server <- function(input, output,session) {
554
  padding = unit(c(20, 20, 20, 20), "points") # top, right, bottom, left margins
555
  )
556
  )
557
- }, height = 750, width = 750)
558
  }
559
 
560
  # Run the app
 
441
  current_data <- apply_percentile_calcs(data %>% select(-BIP)) %>%
442
  filter(`Batter.Name` == input$player) %>%
443
  mutate(metric = factor(metric, levels = c(
444
+ "wOBA", "wOBACON", "xwOBA", "xDamage",
445
  "Avg EV", "EV90", "Max EV",
446
  "stdev(LA)", "Barrel%",
447
  "Z-Con%", "Z-Swing%", "O-Con%",
 
554
  padding = unit(c(20, 20, 20, 20), "points") # top, right, bottom, left margins
555
  )
556
  )
557
+ }, height = 800, width = 800)
558
  }
559
 
560
  # Run the app