Calculate an estimated serum creatinine. Function takes vectorized input as well.
Usage
calc_creat(sex = NULL, age = NULL, digits = 1)
Arguments
sex
sex, either `male` or `female`
age
age in years
digits
number of digits to round to
Details
Uses equations described in Ceriotti et al. Clin Chem. 2008, and Junge W et al.
Clin Chim Acta. 2004. For age 15-18, a linear interpolation is used between
equations for <15 and >18 years as described in Johanssen A et al. Ther Drug
Monit 2011.