base_summarize_humans {MGDrivE2} | R Documentation |
Base Function for Human Summary
Description
This function takes a given infection ('S','E','I','R') status and returns a summary trajectory
Usage
base_summarize_humans(out, infState)
Arguments
out |
the output of |
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
.
Value
a 4 to 6 column dataframe for plotting with ggplot2
[Package MGDrivE2 version 2.1.0 Index]