Adds moving averages and relative changes to HRV data
Usage
calculate_moving_averages(data, window_size = 7, min_fraction = 0.7)
Arguments
- data
Dataframe of HRV measurements
- window_size
Number of days for moving average
- min_fraction
Minimum fraction of data required
Value
Dataframe with added moving averages