R/fortify-aggregate-epimodel-inner.R
fortify_aggregate.epimodel_inner.Rd
Take EpiModel Data and format it
# S3 method for epimodel_inner fortify_aggregate(data, states, package_source = NULL)
data | output from external source package. See details |
---|---|
states | names of states we want aggregate totals of at each time. This is a |
package_source | optional argument to include the package from which the output is derived from, which helps with the fortify function when outputs are of generic classes such as list or data.frame |
a data frame with the following columns
time
columns X0, ..., X_K. which are numeric
This function converts epimodel data sources and converts and puts it in a format that can be used by our exploring functions.