Bug fixed: Added unknown activity case
parent
e4af893d25
commit
f374c67bd5
|
@ -36,7 +36,8 @@ unify_ios_activity_recognition <- function(ios_gar){
|
||||||
activities == "cycling" ~ "on_bicycle",
|
activities == "cycling" ~ "on_bicycle",
|
||||||
activities == "walking" ~ "walking",
|
activities == "walking" ~ "walking",
|
||||||
activities == "running" ~ "running",
|
activities == "running" ~ "running",
|
||||||
activities == "stationary" ~ "still"),
|
activities == "stationary" ~ "still",
|
||||||
|
activities == "unknown" ~ "unknown"),
|
||||||
activity_type = case_when(activities == "automotive" ~ 0,
|
activity_type = case_when(activities == "automotive" ~ 0,
|
||||||
activities == "cycling" ~ 1,
|
activities == "cycling" ~ 1,
|
||||||
activities == "walking" ~ 7,
|
activities == "walking" ~ 7,
|
||||||
|
|
Loading…
Reference in New Issue