Spaces:
Sleeping
Sleeping
Update app.R
Browse files
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) {
|