Bug fixed: Added unknown activity case

pull/145/head
Weiyu 2021-06-15 11:52:19 -04:00
parent e4af893d25
commit f374c67bd5
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ unify_ios_activity_recognition <- function(ios_gar){
activities == "cycling" ~ "on_bicycle",
activities == "walking" ~ "walking",
activities == "running" ~ "running",
activities == "stationary" ~ "still"),
activities == "stationary" ~ "still",
activities == "unknown" ~ "unknown"),
activity_type = case_when(activities == "automotive" ~ 0,
activities == "cycling" ~ 1,
activities == "walking" ~ 7,