View source: R/mo_prior_hc_table.R
mo_prior_hc_table | R Documentation |
Create monthly table for prior healthcare exposures
mo_prior_hc_table(dat, collection = "C. difficile")
dat |
a data frame containing at least following columns: data_collection, org_code, year_no, month_no, total_cases, hoha, coha, coia, coca, month_string |
collection |
A string giving the data collection, default = "C. difficile" |
A dataframe with the table in wide format
library(dplyr)
library(tidyr)
data(cdi_prior_hc_data)
mo_prior_hc_table(cdi_prior_hc_data, collection = "C. difficile")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.