| summary.medicalcoder_comorbidities | R Documentation |
Build summaries (counts and percentages) for each comorbidity and other summary statistics by method.
## S3 method for class 'medicalcoder_comorbidities'
summary(object, ...)
object |
a |
... |
additional parameters, not currently used |
either a list or a data data.frame
pccc_v3.1_results <-
comorbidities(data = mdcr,
icd.codes = "code",
id.vars = "patid",
dx.var = "dx",
method = "pccc_v3.1",
flag.method = 'current',
poa = 1)
summary(pccc_v3.1_results)
charlson_results <-
comorbidities(data = mdcr,
icd.codes = "code",
id.vars = "patid",
dx.var = "dx",
method = "charlson_quan2011",
flag.method = 'current',
poa = 1)
summary(charlson_results)
elixhauser_results <-
comorbidities(data = mdcr,
icd.codes = "code",
id.vars = "patid",
dx.var = "dx",
method = "elixhauser_ahrq2025",
primarydx = 1,
flag.method = 'current',
poa = 1)
summary(elixhauser_results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.