format_internal: Internals of Format vaccine model output as data.frame

View source: R/output.R

format_internalR Documentation

Internals of Format vaccine model output as data.frame

Description

Internals of Format vaccine model output as data.frame

Usage

format_internal(x, compartments, summaries, reduce_age, index, time, replicate)

Arguments

x

squire_simulation object

compartments

Vector of compartment names, e.g. c("S", "R"), or sub-compartment names, e.g. c("S", "E1", "E2")

summaries

Vector of summary names, which may be:

  • "deaths" Deaths per day

  • "infections" Infections per day. New infections (note this is currently a slightly different definitionto the main Squire mode)

  • "hospitilisations" Hospitalisations per day (Note this takes into account hospital capacity)

  • "hospital_occupancy" Occupied Hospital Beds

  • "ICU_occupancy" Occupied ICU Beds

  • "hospital_demand Required Hospital Beds

  • "ICU_demand Required ICU Beds

  • "vaccinated" Vaccines administered per day

reduce_age

Collapse age-dimension, calculating the total in the compartment.

index

odin ouput index

time

time vector

replicate

outpu replicate number


mrc-ide/nimue documentation built on March 25, 2022, 4:45 a.m.