R/global_var.R

# Colors
CARDINAL <- "#BD2031"

# Parameters
MI_TO_KM <- 1.60934 # conversion factor for miles to km
LB_TO_KG <- 0.453592 # conversion factor for lbs to kg

# Heart Rate Zones: based on proportion of maximum heart rate
HR_MAX_BEFORE_AGE <- 220
HR_PEAK_PROP <- c(0.85, 1)
HR_CARDIO_PROP <- c(0.7, 0.84)
HR_FAT_BURN_PROP <- c(0.5, 0.69)

Try the lifelogr package in your browser

Any scripts or data that you put into this service are public.

lifelogr documentation built on May 2, 2019, 6:11 a.m.