A vectorised function to calculate EPTS scores as percentiles for norm-related prediction of
patient survival after adult renal transplants. This function generates the EPTN scores
as percentiles using the most recent lookup table on the OPTN
website published in March 2019 and using SRTR data from 2018. The table can be found
at https://optn.transplant.hrsa.gov/media/2973/epts_mapping_table_2018.pdf
Usage
epts(age, dm, prev_tx, dx)
Arguments
age
numeric vector of patient age in years (with decimals)
numeric vector of whether patient has a previous solid organ transplant
dx
numeric vector of duration of dialysis in years (with decimals)
Value
numeric vector of EPTS scores as percentiles
Details
This function requires the dplyr package to be installed.
References: https://optn.transplant.hrsa.gov/resources/allocation-calculators/epts-calculator/ and
https://optn.transplant.hrsa.gov/media/1511/guide_to_calculating_interpreting_epts.pdf