Learn R Programming

CVrisk (version 1.1.1)

ascvd_10y_frs_simple: Framingham 2008 ASCVD risk score (no lab measurement)

Description

Computes 10-year risk for ASCVD event (coronary death, myocardial infarction (MI),coronary insufficiency, angina, ischemic stroke, hemorrhagic stroke, transient ischemic attack, peripheral artery disease, or heart failure).

Usage

ascvd_10y_frs_simple(
  gender = c("male", "female"),
  age,
  bmi,
  sbp,
  bp_med,
  smoker,
  diabetes,
  ...
)

Value

Estimated 10-Y Risk for hard ASCVD (percent)

Arguments

gender

patient gender (male, female)

age

patient age (years), between 30 and 74

bmi

Body mass index (kg/m2)

sbp

Systolic blood pressure (mm Hg)

bp_med

Patient is on a blood pressure medication (1=Yes, 0=No)

smoker

Current smoker (1=Yes, 0=No)

diabetes

Diabetes (1=Yes, 0=No)

...

Additional predictors can be passed and will be ignored

References

D’agostino, R.B., Vasan, R.S., Pencina, M.J., Wolf, P.A., Cobain, M., Massaro, J.M. and Kannel, W.B., 2008. General cardiovascular risk profile for use in primary care: the Framingham Heart Study. Circulation, 117(6), pp.743-753.

Examples

Run this code
library(CVrisk)
ascvd_10y_frs_simple(
  gender = "male", age = 55,
  bmi = 30, sbp = 140,
  bp_med = 0, smoker = 0, diabetes = 0
)

# 16.7

Run the code above in your browser using DataLab