Learn R Programming

icd (version 4.0.6)

print.comorbidity_map: Print a comorbidity map

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

# S3 method for 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

Run this code
# NOT RUN {
icd9_map_ahrq
# }
# NOT RUN {
print(icd9_map_ahrq)
print(icd9_map_ahrq, n_comorbidities = 3, n_codes = 3)
print(unclass(icd9_map_ahrq))
# }

Run the code above in your browser using DataLab