View source: R/meld_pre_2016.R
meld_pre_2016 | R Documentation |
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.
meld_pre_2016(my_data)
my_data |
A data frame containing columns 'Creatinine', 'Bilirubin', 'INR', and 'Hemodialysis'. |
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).
A modified data frame with the calculated MELD score and risk classification of three-month mortality. Returns NA for cases with missing values.
Kamath et al. (2001) doi:10.1053/jhep.2001.22172
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.