medicalrisk: Medical Risk and Comorbidity Tools for ICD-9-CM Data

Generates risk estimates and comorbidity flags from ICD-9-CM codes available in administrative medical datasets. The package supports the Charlson Comorbidity Index, the Elixhauser Comorbidity classification, the Revised Cardiac Risk Index, and the Risk Stratification Index. Methods are table-based, fast, and use the 'plyr' package, so parallelization is possible for large jobs. Also includes a sample of real ICD-9 data for 100 patients from a publicly available dataset.

Version: 1.3
Depends: R (≥ 3.0.0)
Imports: plyr (≥ 1.5), reshape2, hash
Suggests: testthat, knitr, ggplot2, gridExtra
Published: 2020-02-29
DOI: 10.32614/CRAN.package.medicalrisk
Author: Patrick McCormick [aut, cre], Thomas Joseph [aut]
Maintainer: Patrick McCormick <patrick.mccormick at>
License: GPL-3 | file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: medicalrisk results


Reference manual: medicalrisk.pdf
Vignettes: medicalrisk: Correlating ICU days with mortality risk and comorbidities
medicalrisk: Calculating risk and comorbidities from ICD-9-CM codes


Package source: medicalrisk_1.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): medicalrisk_1.3.tgz, r-oldrel (arm64): medicalrisk_1.3.tgz, r-release (x86_64): medicalrisk_1.3.tgz, r-oldrel (x86_64): medicalrisk_1.3.tgz
Old sources: medicalrisk archive


Please use the canonical form to link to this page.