A helper function for choosing intensity thresholds. Not intended to be invoked directly by the user.
apply_thresholds(intensity, ages, device, wear_location)
The thresholds to return. Must be one of 'light', 'mod', or 'vig'
The age group (i.e., children or adults or both)
The device (i.e., actigraph or geneactiv or both)
The wear location of the device (i.e., 'wrist' or 'hip')
vector of threshold cut-points
Other helper functions (internal):
check_outfiles()
,
translate_studyname()