R/compute.R
    calc_cc_allcases_by_age_acq.RdTabulate cases with condition in causal chain by age and site of acquisition
calc_cc_allcases_by_age_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_cc_allcases_by_age_acq(mock, condition = "Klebsiella pneumoniae", age_groups = valid_age_subcats(mock) )