Computes five nonparametric metrics from minute-level activity: Relative Amplitude (RA), Interdaily Stability (IS), Intradaily Variability (IV), the least-active 5-hour block (L5), and the most-active 10-hour block (M10).
extract_nonparametric_metrics(df, L_window = 5 * 60, M_window = 10 * 60)A list with components:
Relative amplitude, \((M10 - L5) / (M10 + L5)\) when denominator \(> 0\).
Interdaily stability (0..1).
Intradaily variability (\(\ge 0\)).
Mean activity in the lowest 5-hour block of the 24 h profile.
Minute-of-day (0~1439) at which L5 starts.
Mean activity in the highest 10-hour block of the 24 h profile.
Minute-of-day (0~1439) at which M10 starts.
Length-1440 vector of minute-of-day means.
cleaned data frame containing the activity varialbe at 1-minute epoch
Integer window length (minutes) for L5 (default 300).
Integer window length (minutes) for M10 (default 600).
screen_wear(), sleep_detection(), extract_sleep_metrics