Learn R Programming

MGDrivE2 (version 2.1.0)

summarize_humans_epiImperial: Summarize Humans for Imperial Model

Description

The Imperial model outputs six human states for each age compartment. This function accepts the output matrix and the desired index of an age compartment and returns the trajectory of all human states in that given age compartment (default 1)

Usage

summarize_humans_epiImperial(out, index = 1)

Value

dataframe for plotting with ggplot2

Arguments

out

the output of sim_trajectory_R

index

the desired age compartment for which to pull trajectory