R/compute.R
calc_pmi_by_specimen_site.Rd
Calculate average postmortem interval (PMI - average time from death to MITS in hours) by specimen type of NP Only vs. Blood/CSF/Lung and by site
calc_pmi_by_specimen_site(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_pmi_by_specimen_site(mock, pathogen = "Group B Streptococcus")