pr.deyo.comorbidities: Score points for Deyo Charlson's index

Description Usage Arguments Value See Also

View source: R/deyo.R

Description

The following function develops a matrix with rows devoted to respondents and each column a comorbidity. The number in each column is the point value of having the comorbidity.

Usage

1
pr.deyo.comorbidities(input.frame)

Arguments

input.frame

This is a data frame with 5 digit ICD-9-CM codes as XXX.XX This can also be provided as a vector or matrix.

Value

matrix Returns a matrix with the one column per comorbidity. No comorbidity is indicated by 0 while 1 indicates existing comorbidity.

See Also

deyo


gforge/comorbidities.icd10 documentation built on May 17, 2019, 2:12 a.m.