R/dashboard.R
plot_weekly_heatmap.Rd
Generates a heatmap showing weekly recovery status based on RMSSD changes. Status categories are:
Fresh: RMSSD change > 5%
Normal: RMSSD change between -5% and 5%
Caution: RMSSD change between -10% and -5%
Warning: RMSSD change < -10%
plot_weekly_heatmap(data, method = "neural_recovery_score")
A data frame containing HRV metrics with columns:
Either neural_recovery_score or rmssd_change
date: Date of measurement
rmssd_change: Percentage change in RMSSD
A ggplot2 heatmap object