A vectorised function to calculate the MELD-Na score, a variant of the MELD score incorporating serum sodium levels. By default, bilirubin and creatinine are in µmol/l but this can be changed to mg/dl by setting the optional units parameter to "US".
meld_na(INR, bili, creat, Na, dialysis, units = "SI")
numeric vector of MELD-Na scores
Reference: Biggins SW, Kim WR, Terrault NA, et al. Evidence-based incorporation of serum sodium concentration into MELD. Gastroenterology 2006; 130(6):1652-60.
meld_na(INR = 1.8, bili = 34, creat = 176, Na = 131, dialysis = 0)
#> [1] 26.20589
meld_na(INR = 1.8, bili = 2, creat = 2, Na = 131, dialysis = 0, units = "US")
#> [1] 26.25671