R/compute.R
calc_nspecimen_by_pmi.Rd
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)
d | A data object obtained from |
---|---|
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 |
calc_nspecimen_by_pmi(mock, pathogen = "Group B Streptococcus")