A vectorised formula to calculate estimate glomerular filtration rate in children using the bedside Schwartz formula. By default this uses serum creatinine in µmol/l but this can be changed to mg/dl by setting the optional units parameter to "US".
schwartz(creat, height, units = "SI")
numeric vector of eGFR values
Reference: Schwartz GJ, Munoz A, Schneider MF et al. New equations to estimate GFR in children with CKD. J Am Soc Nephrol 2009; 20(3):629-637.
# calculate using creatinine in µmol/l
schwartz(creat = 64, height = 101)
#> [1] 57.60156
# calculate using mg/dl
schwartz(creat = 0.7, height = 101, units = "US")
#> [1] 59.59