| summary.medicalcoder_comorbidities_with_subconditions | R Documentation |
Build summaries (counts and percentages) for each Pediatric Complex Chronic Condition (PCCC) condition and subcondition.
## S3 method for class 'medicalcoder_comorbidities_with_subconditions'
summary(object, ...)
object |
a |
... |
additional parameters, not currently used |
a data.frame with five columns.
condition the primary condition
subcondition the subcondition(s) within the condition. There will be
a row where subcondition is NA which is used to report the count and
percent_of_cohort for the condition overall.
count the number of rows in object with the applicable condition and
subcondition.
percent_of_cohort: a numeric value within [0, 100] for the percent of
rows in object with the flagged condition and subcondition.
percent_of_those_with_condition: a numeric value within [0, 100] for the
subset of rows in object with the primary condition and the flagged
subcondition. Will be NA for the primary condition.
comorbidities(),
vignette(topic = "pccc", package = "medicalcoder")
pccc_v3.1_subcondition_results <-
comorbidities(data = mdcr,
icd.codes = "code",
id.vars = "patid",
dx.var = "dx",
method = "pccc_v3.1",
flag.method = 'current',
poa = 1,
subconditions = TRUE)
summary(pccc_v3.1_subcondition_results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.