Tabulate the number of positive specimens for each case where the pathogen(s) are detected in TAC results by postmortem interval range (PMI - time from death to MITS)

calc_nspecimen_by_pmi(d, pathogen, sites = NULL)

Arguments

d

A data object obtained from load_data.

pathogen

A string specifying the pathogen to count positive cases of in the TAC results.

sites

An optional vector of site names to include in the tabulation. If not provided, all sites will be used. See valid_sites.

Examples

calc_nspecimen_by_pmi(mock, pathogen = "Group B Streptococcus")