DaveM2430 commited on
Commit
4ce5955
·
verified ·
1 Parent(s): e62e5a5

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +1 -1
app.R CHANGED
@@ -811,7 +811,7 @@ make_color_ramp <- function(values, low, high, flip = FALSE,
811
  }")
812
  )
813
  ) %>%
814
- formatStyle("BA", backgroundColor = styleEqual(dt$BA, col_ba)) %>%
815
  formatStyle("OBP", backgroundColor = styleEqual(dt$OBP, col_obp)) %>%
816
  formatStyle("SLG", backgroundColor = styleEqual(dt$SLG, col_slg)) %>%
817
  formatStyle("BB%", backgroundColor = styleEqual(dt$`BB%`, col_bb)) %>%
 
811
  }")
812
  )
813
  ) %>%
814
+ formatStyle("BA", backgroundColor = styleEqual(dt$BA, col_avg)) %>%
815
  formatStyle("OBP", backgroundColor = styleEqual(dt$OBP, col_obp)) %>%
816
  formatStyle("SLG", backgroundColor = styleEqual(dt$SLG, col_slg)) %>%
817
  formatStyle("BB%", backgroundColor = styleEqual(dt$`BB%`, col_bb)) %>%