Description Usage Arguments Value References Examples
Computes the 10-year risk of CVD using globorisk, a prediction model for the risk of cardiovascular disease in 182 countries.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
sex |
patient sex (0 = man, 1 = woman) |
age |
patient age (years) |
sbp |
systolic blood pressure (mmHg) |
tc |
total cholesterol (mmol/L) |
dm |
diabetes mellitus (0 = no, 1 = yes) |
smk |
current smoker (0 = no, 1 = yes) |
bmi |
body mass index (kg/m^2) |
iso |
ISO code for country of interest |
year |
baseline year |
time |
follow up time (default is 10-years) |
version |
calculator version, options are 'lab', 'office', or 'fatal' |
type |
output type, options are 'risk', 'survival', or 'all' |
updated_lac |
use updated risk equations for LAC countries? |
If type = 'risk' output is a vector with estimated 10-year risk for CVD, if type = 'survival' output is a vector with estimated 10-year survival, if type = 'all' output is a data.frame with intermediate calculations
Ueda, Peter, Mark Woodward, Yuan Lu, Kaveh Hajifathalian, Rihab Al-Wotayan, Carlos A. Aguilar-Salinas, Alireza Ahmadvand, et al. "Laboratory-Based and Office-Based Risk Scores and Charts to Predict 10-Year Risk of Cardiovascular Disease in 182 Countries: A Pooled Analysis of Prospective Cohorts and Health Surveys." The Lancet Diabetes & Endocrinology 5, no. 3 (March 1, 2017): 196–213. https://doi.org/10.1016/S2213-8587(17)30015-3.
Hajifathalian, Kaveh, Peter Ueda, Yuan Lu, Mark Woodward, Alireza Ahmadvand, Carlos A Aguilar-Salinas, Fereidoun Azizi, et al. “A Novel Risk Score to Predict Cardiovascular Disease Risk in National Populations (Globorisk): A Pooled Analysis of Prospective Cohorts and Health Examination Surveys.” The Lancet Diabetes & Endocrinology 3, no. 5 (May 1, 2015): 339–55. https://doi.org/10.1016/S2213-8587(15)00081-9.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | library(globorisk)
globorisk(
sex = c(1, 0, 0),
age = c(52, 60, 65),
sbp = c(140, 160, 170),
tc = c(4.5, 5, 5),
dm = c(1, 1, 1),
smk = c(0, 1, 1),
iso = c("AFG", "AFG", "USA"),
year = c(2000, 2000, 2020),
version = "lab",
type = "risk"
)
# globorisk LAC test
globorisk(
sex = c(1, 0, 0),
age = c(52, 60, 65),
sbp = c(140, 160, 170),
tc = c(4.5, 5, 5),
dm = c(1, 1, 1),
smk = c(0, 1, 1),
iso = c("ARG", "BLZ", "CHL"),
year = c(2000, 2000, 2020),
version = "lab",
type = "risk",
updated_lac = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.