A vectorised function to calculate the UKELD score using SI units for bilirubin and creatinine.
Usage
ukeld(INR, bili, creat, Na, units = "SI")
Arguments
INR
numeric vector of INR
bili
numeric vector of bilirubin in <U+00B5>mol/l
creat
numeric vector of creatinine in <U+00B5>mol/l
Na
numeric vector of sodium in mmol/l
units
Units for bilirubin and creatinine ("SI" for <U+00B5>mol/l (default), "US" for mg/dl)
Value
numeric vector of UKELD scores
Details
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.