fortify_aggregate.epimodel_inner: Take EpiModel Data and format it

Description Usage Arguments Details Value

View source: R/fortify-aggregate-epimodel-inner.R

Description

Take EpiModel Data and format it

Usage

1
2
## S3 method for class '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

Details

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

Value

a data frame with the following columns

t

time

Xk

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


skgallagher/EpiCompare documentation built on Sept. 14, 2021, 5:45 a.m.