
Calculate eGFR by all creatinine-based equations for adults
egfr.all_adults.cr.Rd
Calculate eGFR by all creatinine-based equations for adults
Arguments
- creatinine
Numeric vector. Serum creatinine, could be expressed in "micromol/L", "mmol/L" or "mg/dL". Units of measurement should be defined in variable creatinine_units (if not defined explicitly by user, the default value is "micromol/L").
- age
Numeric vector. Age, in years.
- sex
Vector. The value of variable refers to the parameters label_sex_male and label_sex_female.
- ethnicity
Vector. Ethnicity. If no ethnicity will be defined, the calculation will use coefficients for Caucasian subjects. Specify ethnicity labels in the function parameter label_african.
- creatinine_units
Character string. Units in which serum creatinine is expressed. Could be one of the following: "micromol/L", "mmol/L" or "mg/dL".
- label_sex_male
List. Label(s) for definition(s) of male sex.
- label_sex_female
List. Label(s) for definition(s) of female sex.
- label_african
List. Label(s) for African ethnicity. Required only by race-specific equations.
- max_age
Numeric. Maximal age suitable for the equation application, in years. By default is 100 years, but change this value in case you would like to apply equation to older persons.
Details
Calculate eGFR by all creatinine-based equations for adults available in the kidney.epi package.
References to the equations are available in single functions of the kidney.epi package.
Citation: Bikbov B. kidney.epi: Kidney-Related Functions for Clinical and Epidemiological Research. Scientific-Tools.Org, https://Scientific-Tools.Org. DOI: 10.32614/CRAN.package.kidney.epi
Examples
# for a single patient
egfr.all_adults.cr (creatinine = 1.4, age = 60, sex = "Male",
creatinine_units = "mg/dl")
#> Warning: For age the following incorrect values were detected and excluded from calculations (substituted with NA):
#> 1 value is lower than 70
#> Scientific-Tools.Org takes precision seriously.
#> egfr.ckdepi.cr.2009 egfr.ckdepi.cr.2021 egfr.ekfc.cr egfr.fas.cr egfr.mdrd4
#> 1 54.22 57.54 53.56 54.48 54.94
#> egfr.lm.cr egfr.bis.cr
#> 1 51.92 NA
# for a dataset - see vignettes for details
# egfr.all_adults.cr (creatinine = dta$scr, age = dta$age, sex = dta$sex,
# creatinine_units = "mg/dl")