Kidney Functions: Clinical and Epidemiological

Contains kidney care oriented functions. Current version contains only function for calculation of Kidney Donor Risk Index and Kidney Donor Profile Index for kidney transplant donors by Rao et al. (2009) . Citation: Bikbov B. R open source programming code for calculation of the Kidney Donor Profile Index and Kidney Donor Risk Index. Kidney Diseases (2018) .

This is the source code for the "kidney.epi" package in R. It gets posted to the comprehensive R archive (CRAN) at intervals, each such posting preceded a throrough test. In general, each new push to CRAN with new function(s) will update the second term of the version number, e.g. 1.2.0 to 1.3.0. Updates only to the code of existing functions increment the third term of the version number, e.g. 1.2.0 to 1.2.1.

Home page for the project:
Twitter of the project: Maintainer web-site:

Agreement on prefix of function names and internal datafarames

nephro. - related to nephrology in general  
ktx. - related to kidney transplantation  
hd. - related to hemodialysis  
pd. - related to peritoneal dialysis  
epi. - related to epidemiology in general
service. - service functions or internal purposes of the package (data check, etc)

Internal datafarames

Internal datafarames are contained in the R/sysdata.rda of the source code, used in the R package functions but not accessible to the user.
Current internal datafarames:
ktx.kdpi_mapping_table - contains data with mapping KDPI and KDRI reported by OPTN for the years 2015-2016
ktx.kdpi_coefficients - contains data with coefficients used by OPTN for the calculation (KDRI scaling factor, chances of hypertension and diabetes in case if they were unknown for donor, etc)

External datafarames

ktx - contains data for 10 kidney transplant patients.


List of vignettes are available via browseVignettes(package = "kidney.epi").


kidney.epi 1.1.0

  • introduce service functions
  • add OPTN mapping values for the year 2017 to the internal dataframes in sysdata.rda
  • add check of the user input for ktx.kdpi.optn function

kidney.epi 1.0.0

  • first public release of the package

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.1.0 by Boris Bikbov, 5 months ago

Browse source code at

Authors: Boris Bikbov [aut, cre]

Documentation:   PDF Manual  

LGPL (>= 2) license

Suggests knitr, rmarkdown

See at CRAN