Compute mean heart rate summary metrics
Source:R/scores_nt_fitbit.R
compute_fitbit_mean_hrate_scores.RdComputes mean heart rate by day or by specified time bins, after heart
rate exclusions. The mean heart rate columns are always computed here;
whether they are surfaced in the final output is gated by the calling
daily table function (via its include_mean_hrate parameter).
Value
tbl. A data frame with the following columns:
hrate_mean: mean heart rate after heart rate exclusions.hrate_mean_actv: mean heart rate for non-sleep minutes after heart rate exclusions.start: If non-daily bin selected (i.e. != 1440 minutes), start time stamp of bin.end: If non-daily bin selected (i.e., != 1440 minutes), end time stamp of the bin.