Skip to contents

Creates a visualization of heart rate variability (HRV) data from a FIT file. The plot can display either heart rate (HR) or RR interval data, with annotations showing key metrics.

Usage

hrv_plot(file_path, base = "HR", filter_factor = 0.175)

Arguments

file_path

Path to the FIT file to process

base

Character indicating the type of data to plot:

  • "HR": Heart rate data

  • "RR": RR interval data

filter_factor

Numeric value used to filter RR intervals that are more than filter_factor times smaller or larger than the previous value. Helps remove suspected false readings. Default: 0.175

Value

A ggplot2 plot object