# Example 1: Low Risk
# 45yo Male, Non-smoker, Chol 180, HDL 50, SBP 120 (No Meds)
framingham_hard_chd(45, "male", 0, 180, 50, 120, 0)
# Example 2: High Risk
# 65yo Female, Smoker, Chol 240, HDL 35, SBP 150 (Meds)
framingham_hard_chd(65, "female", 1, 240, 35, 150, 1)
Run the code above in your browser using DataLab