predict_FEV1 | R Documentation |
This function computes predicted FEV1 from the ERS Global Lung Initiative function (Eur Resp J 2012 40:1324-43)
predict_FEV1(age, height, race, sex, fev1 = NA)
age |
age in years (ages 25-95) |
height |
height in centimeters |
race |
1=African American (AA), 2=North East Asian (NEA), 3=South East Asian (SEA) or 4=other (O) |
sex |
0=female/1=male |
fev1 |
measured FEV1 (optional). If provided, Z-score and percent predicted will be computed |
vector of predicted FEV1, coefficient of variation, skewness, lower limit normal, Z-score (if fev1 is provided), percent predicted FEV1 (if fev1 is provided)
age <- c(4.8, 12.2, 53, 39.1)
height <- c(107, 152, 175, 165)
race <- c("o", "aa", "SEA", "SEA")
sex <- c("M", "M", "M", "F")
fev1 <- c(0.8, 2.405, 2.410, 2.210)
predict_FEV1(age, height, race, sex, fev1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.