This function takes a given infection ('S','E','I','R') status and returns a summary trajectory
base_summarize_humans(out, infState)
out | the output of |
---|---|
infState | type of humans to summarize: 'S','E','I','R' |
a 4 to 6 column dataframe for plotting with ggplot2
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
.