A vectorised function to calculate the UKELD score using SI units for bilirubin and creatinine.
ukeld(INR, bili, creat, Na, units = "SI")
numeric vector of UKELD scores
Reference: Barber KM, Madden S, Allen J, et al. Elective liver transplant list mortality: development of a United Kingdom end-stage liver disease score. Transplantation 2011; 92(4):469-76.
ukeld(INR = 1.0, bili = 212, creat = 54, Na = 126)
#> [1] 63.21842