For count_codes
, it is assumed that all the columns apart from
visit_name
represent actual or possible ICD-9 codes. Duplicate
visit_name
s are repeated as given and aggregated.
1 2 3 4 5 6 | count_codes_wide(
x,
visit_name = get_visit_name(x),
return_df = FALSE,
aggr = FALSE
)
|
x |
|
visit_name |
The name of the column in the data frame which contains the
patient or visit identifier. Typically this is the visit identifier, since
patients come leave and enter hospital with different ICD-9 codes. It is a
character vector of length one. If left empty, or |
return_df |
single logical value, if |
aggr |
single logical, default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.