View source: R/auxiliary-plot.R
| base_summarize_humans | R Documentation | 
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' | 
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.
a 4 to 6 column dataframe for plotting with ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.