Take EpiModel Data and format it

# S3 method for epimodel_inner
fortify_aggregate(data, states, package_source = NULL)

Arguments

data

output from external source package. See details

states

names of states we want aggregate totals of at each time. This is a string.

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

Value

a data frame with the following columns

t

time

Xk

columns X0, ..., X_K. which are numeric

Details

This function converts epimodel data sources and converts and puts it in a format that can be used by our exploring functions.