Deletes all periods marked as non-wear.
Arguments
- data
An
impactr_data
object with thewear
column, as obtained with mark_nonwear().
Value
The impactr_data
object provided by data
without the
wear
column and with the non-wear time removed.
Details
This is an internal function, designed to be used inside the wrapper function remove_nonwear() that integrates all steps of detection, removal and inspection of accelerometer non-wear time.