Calculate an estimated serum creatinine. Function takes vectorized input as well.

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.

Examples

calc_creat(sex = "male", age = 40)
#> $value
#> [1] 84
#> 
#> $unit
#> [1] "micromol/L"
#> 
calc_creat(sex = "male", age = c(10, 17, 60))
#> $value
#> [1] 43.6 74.5 84.0
#> 
#> $unit
#> [1] "micromol/L"
#>