View source: R/factor_apportioned.R
factor_apportioned | R Documentation |
Converts apportioned column into a factor for production of long format tables.
factor_apportioned(x)
x |
a column giving the apportioned status of a case. One of 1, 0, HO or CO |
A factor with levels "Hospital-onset", "Community-onset" and "Total cases"
mo_tab_long
, ann_tab_long
factor_apportioned(1)
factor_apportioned("CO")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.