Skip to content

Commit

Permalink
auto-set acc.mnetric to ExtAct when working with sensewear #974
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentvanhees committed Jan 20, 2024
1 parent 56e439b commit 8ae4cc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/check_params.R
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ check_params = function(params_sleep = c(), params_metrics = c(),
# Force acc.metric to be LFENMO
params_general[["acc.metric"]] = "LFENMO"
}
} else if (params_general[["dataFormat"]] == "sensewear_xls") {
params_general[["acc.metric"]] = "ExtAct"
}
}
if (!is.null(params_general[["recordingEndSleepHour"]])) {
Expand Down

0 comments on commit 8ae4cc2

Please sign in to comment.