Description Usage Arguments Details Value Examples
Wrapper function for the kdpi() vectorised function to calculate US KDPI percentile as published by OPTN/UNOS, using creatinine measured in mg/dl (please use the kdpi() function for µmol/l).
1 2 |
age |
numeric vector of donor ages in years |
height |
numeric vector of donor heights in cm |
weight |
numeric vector of donor weights in kg |
eth |
character string vector of donor ethnicity, "black" or "non-black" |
htn |
numeric vector of donor hypertension history (1 = yes, 0 = no) |
dm |
numeric vector of donor diabetes history (1 = yes, 0 = no) |
cva |
numeric vector of whether donor death due to CVA (1 = yes, 0 = no) |
creat |
numeric vector of donor serum creatinine (µmol/l) |
hcv |
numeric vector of donor hepatitis C history (1 = yes, 0 = no) |
dcd |
numeric vector of type of donor (1 = DCD, 0 = DBD) |
scaling |
single numeric value for OPTN scaling factor (optional, defaults to 1) |
The KDRI is calculated from KDRI normalised by a scaling factor based on the median KDRI in the previous year. For 2018, this was approximately 1.250609 as is published on the OPTN website. The scaling parameter in this function defaults to 1, so can be left out to calculate the KDPI without scaling.
This function requires the dplyr package to be installed.
Reference: Rao PS, Schaubel DE, Guidinger MK, et al. A Comprehensive Risk Quantification Score for Deceased Donor Kidneys: The Kidney Donor Risk Index. Transplantation 2009; 88:231-236.
numeric vector of US KDRI values
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.