meld_pre_2016: MELD Score (Original, Pre-2016, Model for End-Stage Liver...

View source: R/meld_pre_2016.R

meld_pre_2016R Documentation

MELD Score (Original, Pre-2016, Model for End-Stage Liver Disease)

Description

Calculates the MELD score based on the original pre-2016 formula, which does not include serum sodium levels, as used by non-US transplant societies. Visit https://www.mdcalc.com/calc/2693/meld-score-original-pre-2016-model-end-stage-liver-disease for more information.

Usage

meld_pre_2016(my_data)

Arguments

my_data

A data frame containing columns 'Creatinine', 'Bilirubin', 'INR', and 'Hemodialysis'.

Details

This function calculates the MELD score using the following parameters:

  • Bilirubin : Numeric value representing the bilirubin level (mg/dL).

  • INR : Numeric value representing the International Normalized Ratio (INR).

  • Creatinine : Numeric value representing the creatinine level (mg/dL).

  • Hemodialysis : Logical value indicating if the patient is on hemodialysis (0 = No, 1 = Yes).

Value

A modified data frame with the calculated MELD score and risk classification of three-month mortality. Returns NA for cases with missing values.

References

Kamath et al. (2001) doi:10.1053/jhep.2001.22172

Examples

my_data <- data.frame(
  Hemodialysis = c(0, 0, 1),
  Creatinine = c(1.2, 0.9, 1.5),
  Bilirubin = c(0.7, 1.1, 0.9),
  INR = c(1.0, 1.2, 1)
)

meld_pre_2016(my_data)

amscorer documentation built on Sept. 11, 2024, 7:19 p.m.