print.comorbidity_map: Print a comorbidity map

Description Usage Arguments Examples

View source: R/print.icd_comorbidity_map.R

Description

The default is to summarize by printing the first seven comorbidities, and the first seven codes for each. To print the whole thing, just convert it to a list.

Usage

1
2
## S3 method for class 'comorbidity_map'
print(x, ..., n_comorbidities = 7, n_codes = 7)

Arguments

x

a list optionally with class comorbidity_map

...

further arguments are passed to print

n_comorbidities

single integer, number of comorbidities to print

n_codes

single integer, number of codes per comorbidity to print

Examples

1
2
3
4
5
6
7
icd9_map_ahrq
## Not run: 
print(icd9_map_ahrq)
print(icd9_map_ahrq, n_comorbidities = 3, n_codes = 3)
print(unclass(icd9_map_ahrq))

## End(Not run)

icd documentation built on July 2, 2020, 4:07 a.m.