This function takes a given infection ('S','E','I','R') status and returns a summary trajectory
Arguments
- out
the output of
sim_trajectory_R
- infState
type of humans to summarize: 'S','E','I','R'
Details
This function is the base function for summarize_humans_epiSIS
,
summarize_humans_epiSEIR
.
The return object depends on the data provided. If the simulation was only 1 node,
then no node
designation is returned. If only one repetition was performed,
no rep
designation is returned. Columns always returned include: time
,
inf
, genotype
, and value
.