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)

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_pmi_by_specimen_site(mock, pathogen = "Group B Streptococcus")