rspiro-package {rspiro} | R Documentation |
rspiro: Brief overview of the package
Description
R package rspiro implements multiple spirometry equations: currently the GLI-2012 (Quanjer), GLI global 2022, JRS-2014, NHANES III (Hankinson), as well as the GLI-2017 diffusing capacity equations (Stanojevic et al). More may be added later. It offers a convenient interface to calculate predicted or LLN (Lower Limit of Normal) values given demographic data, or to convert absolute values to percent ( predicted or z-scores.
Details
To ensure a consistent interface,
package functions are named with a prefix indicating the functionality
and a suffix indicating the spirometric equations used, for example
LLN_GLI
calculates Lower Limits of Normal using the GLI-2012
equations. The suffix is currently one of 'GLI', 'GLIgl', 'JRS', 'NHANES3' or 'GLIdiff'.
The prefix is one of 'LLN_', 'pred_', 'pctpred_' or 'zscore_'.
Functions prefixed 'LLN_' or 'pred_' accept as input demographic information (age, gender, height, ethnicity) and calculate the Lower Limit of Normal and the predicted value, respectively, for a given spirometry parameter (FEV1, FVC, etc). Functions prefixed 'pctpred_' or 'zscore_' accept absolute spirometry values (plus demographics) and convert those to percent ( z-scores, respectively. Please note the difference between 'pred_' and 'pctpred_' above.
For detailed information, refer to the respective function documentations.
The development version of rspiro is available on GitHub https://github.com/thlytras/rspiro. To report problems and bugs, or to request a feature, please go there and open an issue. Alternatively, send an email to Theodore Lytras thlytras@gmail.com.
Author(s)
Theodore Lytras thlytras@gmail.com.