Carlos Jorge
April 20 , 2016
By Quickly picking your age group , you can easily view your effective workout heart rate.
Easily create a data.frame using the following input format.
hr <- data.frame(
Age = c(20,30,35,40,45,50,55,60,65,70),
Targetl = c(100,95,93,90,88,85,83,80,78,75),
Target2 = c(170,162,157,153,149,145,140,136,132,128),
Maxhr = c(200,190,185,180,175,170,165,160,155,150)
)
Here we use a sample age of 30
By Quickly picking your age group , you can easily view your effective workout heart rate.
Coding data was easily done with a bash script that pulls the data down from AHA website @ http://tiny.cc/AHAhr and creates a data.frame.
To run the program go to https://marti149.shinyapps.io/shiny/ Actual github repo is at https://github.com/carlmart/heartrate