getIncidentCases.Rd
Returns and/or plot numbers of sampled and unsampled cases over time
getIncidentCases(
record,
burnin = 0.5,
numBins = 10,
dateT = NA,
show.plot = FALSE
)
Output from inferTTree function
Proportion of the MCMC output to be discarded as burnin
Number of time bins to compute and display incident cases
Date when process stops (this can be Inf for fully resolved outbreaks)
Show a plot of incident cases over time with stacked bars
List with four entries. Time is a vector of the time points. allCases is the average number of cases at each time in the posterior. sampledCases: average number of sampled cases. unsampCases: average number of unsampled cases.