predict_FVC | R Documentation |
This function computes predicted FVC from the ERS Global Lung Initiative function (Eur Resp J 2012 40:1324-43)
predict_FVC(age, height, race, sex, fvc = 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 |
fvc |
measured FVC (optional). If provided, Z-score and percent predicted will be computed |
vector of predicted FVC, coefficient of variation, skewness, lower limit normal, Z-score (if fvc is provided), percent predicted FVC (if fvc 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")
fvc <- c(0.8, 2.405, 2.410, 2.210)
predict_FVC(age, height, race, sex, fvc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.