Learn R Programming

transplantr (version 0.2.0)

epts_lookup: EPTS lookup function

Description

A vectorised function to convert EPTS scores to percentiles for norm-related prediction of patient survival after adult renal transplants. This calculator uses the most recent lookup table published in March 2019 and using SRTR data from 2018 from the OPTN website at https://optn.transplant.hrsa.gov/media/2973/epts_mapping_table_2018.pdf

Usage

epts_lookup(raw)

Arguments

raw

numeric vector of raw EPTS scores

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

Examples

Run this code
# NOT RUN {
epts_lookup(1.54) # 21
# }

Run the code above in your browser using DataLab