R/compute.R
calc_top_dcd_pathogens_by_acq.Rd
Tabulate top pathogens associated with a condition by site of acquisition
calc_top_dcd_pathogens_by_acq(d, condition, age_groups = NULL, sites = NULL)
d | A data object obtained from |
---|---|
condition | A string specifying the condition to tabulate causal chain
presence for. To list all possibilities, see
|
age_groups | Optional vector of age groups.
See |
sites | An optional vector of site names to include in the tabulation.
If not provided, all sites will be used. See |
calc_top_dcd_pathogens_by_acq(mock, condition = "Lower respiratory infections", age_groups = c( "Infant (28 days to less than 12 months)", "Child (12 months to less than 60 Months)") )