Description Usage Arguments Value Caveats References
View source: R/metabolic_syndrome.R
Determines whether an individual has the metabolic syndrome based on the definition of the NCEP ATPIII criteria, updated in 2005 by Grundy et al.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
is_female |
|
waist_circumference |
Waist circumference (cm) ( |
sbp |
Systolic blood pressure (mmHg) ( |
dbp |
Systolic blood pressure (mmHg) ( |
triglycerides |
Triglycerides in (mmol/l) ( |
hdl_cholesterol |
HDL cholesterol (mmol/l) ( |
glucose |
Glucose (mmol/l) ( |
is_fasting_blood_sample |
|
has_antihypertensive_drug |
|
has_lipid_drug |
|
has_glucose_drug |
|
TRUE
if patient has the metabolic syndrome, FALSE
is
not, NA
if indetermined or is_female
was NA
.
We do include use of a statin as a drug for HDL cholesterol and triglicerides, even though the original statement is unclear about this point (only including niacin and fibrates).
According to the definition, only glucose needs to be from a fasting blood
sample (and not triglycerides or HDL cholesterol). The glucose trait is
determined in a fail-fast way: if you do not explicitly set
is_fasting_blood_sample = TRUE
, the glucose measurement is
considered to be non-fastening and is ignored.
This function explicitly handles situations of missing data. For example,
with blood pressure 120/80 mmHg and antihypertensive medication, a patient
is still considered hypertensive. With blood pressure NA
/90 mmHg
without antihypertensive medication, a patient is still considered
hypertensive. A patient with blood pressure NA
/NA
mmHg and no
antihypertensive medication is considered NA
for the trait
hypertension, but if a patient has NA
/NA
mmHg but does use
antihypertensive medication, the patient is considered to have hypertension
(even though measurements are missing).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.