format_output_H: Format human model outputs

View source: R/format_output.R

format_output_HR Documentation

Format human model outputs

Description

The function formats human-realetd model outputs as a long data frame.

Usage

format_output_H(x, var_select = NULL, keep = NULL, patch_id = NULL)

Arguments

x

Zika_model_simulation object.

var_select

Vector of human compartment names, c("S", "I1", "R1"). In addition a number of additional variables can be requested. These include:

  • "Ntotal" Total number of people

  • "inf_1" Daily infections

  • "MC" Daily microcephaly cases

  • "inf_1_w" Weekly infections per 1000

  • "MC_w" Weekly microcephaly cases per 1000

keep

name of variable to stratify by (allowed are c("patch", "vaccine", "all"). Default is no stratification)

patch_id

ID of patch to keep in the summary. Default to keep all patches.

Value

Formatted long data.frame


mrc-ide/ZikaModel documentation built on Sept. 14, 2022, 8:51 a.m.