TimStats commited on
Commit
2c859eb
·
verified ·
1 Parent(s): 37d103e

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +5 -1
app.R CHANGED
@@ -156,7 +156,11 @@ calculate_primary <- function(data){
156
  ) %>%
157
 
158
  # Ungroup to remove grouping structure
159
- ungroup()
 
 
 
 
160
  }
161
 
162
  calculate_timstuff <- function(game) {
 
156
  ) %>%
157
 
158
  # Ungroup to remove grouping structure
159
+ ungroup() %>%
160
+ mutate(primvelodiff = primary_speed - start_speed,
161
+ primivbdiff = primary_IVB - IVB,
162
+ primhbdiff = primary_HB - HB)
163
+
164
  }
165
 
166
  calculate_timstuff <- function(game) {