R/plot.R
hrv_plot.Rd
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.
hrv_plot(file_path, base = "HR")
Path to the FIT file to process
Character indicating the type of data to plot:
"HR": Heart rate data
"RR": RR interval data
A ggplot2 plot object