
Photo: Insulin pens and syringes (Public domain, credits)
10-year and lifetime CVD risk and CVD-free life expectancy in type 2 diabetes.
AC Verified against the developers' software, or an independent package and the developers' material (evidence A, C)
official calculator (U-Prevent): 58/60 displayed values (2 mis-copied when recorded); worked examples: 6/6 printed values (example B with eGFR 90, not the caption's 70).
Read the full verification reportThe arguments of dial2, with defaults where it has them; units are in the function's docstring.
agesexsmokersbptotal_cholhdl_cholhba1cegfrage_at_diagnosisregionoutcome='lifetime_risk'hr_cvd=1.0hr_non_cvd=1.0from cvd_risk import dial2
dial2(age=60, sex="male", smoker=0, sbp=140, total_chol=5.0, hdl_chol=1.1, hba1c=58,
egfr=80, age_at_diagnosis=55, region="moderate", outcome="lifetime_risk")Returns 0.4582 (computed by the package when this page was built). Every argument also accepts an array.