Skip to contents

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%

Usage

plot_weekly_heatmap(data, method = "neural_recovery_score")

Arguments

data

A data frame containing HRV metrics with columns:

method

Either neural_recovery_score or rmssd_change

  • date: Date of measurement

  • rmssd_change: Percentage change in RMSSD

Value

A ggplot2 heatmap object