A vectorised function to calculate eGFR using the Nankivell formula. By default the equation accepts serum creatinine in µmol/l but can be changed to mg/dl by setting the units parameter to "US". The Urea parameter is serum urea in mmol/l, but if the units parameter is set to "US", Blood Urea Nitrogen (BUN) in mg/dl is used instead. It has not been possible to run automated tests to confirm the accuracy of this function, so please use with caution.

nankivell(SCr, Urea, Weight, Height, Sex, Units = "SI")

Arguments

SCr

numeric vector of serum creatinine in µmol/l (or mg/dl if units = "US")

Urea

numeric vector of serum urea in mmol/l (or BUN in mg/dl if units = "US")

Weight

numeric vector of patient weights in kilograms

Height

numeric vector of patient heights in centimetres

Sex

character vector of sex ("F" for female, "M" for male)

Units

non-vectorised optional parameter for creatinine and urea/BUN units ("SI" for µmol/l (default), "US" for mg/dl)

Value

a numeric vector of eGFR values

Details

Reference: Nankivell BJ, Gruenwald SM, Allen RD, Chapman JR: Predicting glomerular filtration rate after renal transplantation. Transplantation 1995; 59:1683-89.

Examples

nankivell(SCr = 118, Urea = 13.4, Weight = 65, Height = 172, Sex = "M") # 44.55
#> [1] 44.54726