A vectorised function to calculate the UK Kidney Recipient Risk Index as used in the new national kidney matching scheme implemented in September 2019.

ukkrri(age, dx, wait, dm)

Arguments

age

numeric vector of patient ages in years

dx

numeric vector of whether on dialysis at time of listing (1 = yes, 0 = no)

wait

numeric vector of waiting time from start of dialysis

dm

numeric vector of whether patient has diabetes (1 = yes, 0 = no)

Value

numeric vector of UK Kidney Recipient Risk Index values

Details

The UK KRRI is documented in the UK kidney matching policy which can be found on the NHS Blood & Transplant ODT website at www.odt.nhs.uk

Examples

ukkrri(age = 45, dx = 0, wait = 750, dm = 0)
#> [1] 0.6077025