meld_na: MELD-Na score

Description Usage Arguments Details Value Examples

View source: R/liver.R

Description

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".

Usage

1
meld_na(INR, bili, creat, Na, dialysis, units = "SI")

Arguments

INR

numeric vector of INR

bili

numeric vector of bilirubin (µmol/l)

creat

numeric vector of creatinine (µmol/l)

Na

numeric vector of sodium (mmol/l)

dialysis

whether on dialysis/CVVH (1 = yes, 0 = no)

units

Units for bilirubin and creatinine ("SI" for µmol/l (default), "US" for mg/dl)

Details

Reference: Biggins SW, Kim WR, Terrault NA, et al. Evidence-based incorporation of serum sodium concentration into MELD. Gastroenterology 2006; 130(6):1652-60.

Value

numeric vector of MELD-Na scores

Examples

1
2
meld_na(INR = 1.8, bili = 34, creat = 176, Na = 131, dialysis = 0)
meld_na(INR = 1.8, bili = 2, creat = 2, Na = 131, dialysis = 0, units = "US")

transplantr documentation built on Feb. 28, 2020, 5:07 p.m.