trigger_projections: Project lockdowns based on triggering

View source: R/triggering.R

trigger_projectionsR Documentation

Project lockdowns based on triggering

Description

Project lockdowns based on triggering

Usage

trigger_projections(
  out,
  trigger_metric = "deaths",
  trigger_value = 150,
  R0_lockdowns = c(0.5, 0.5, 0.5, 0.5),
  lockdown_lengths = c(28, 42, 28, 42),
  max_lockdowns = 4,
  seed = 931L
)

Arguments

out

Output of pmcmc or calibrate

trigger_metric

Name of model output to tigger by. Must be one accepted by format_output

trigger_value

Value of trigger_metric at which triggering occurs

R0_lockdowns

Vector of R0 values to be used for each lockdown. Default = c(0.5, 0.5, 0.5, 0.5)

lockdown_lengths

Vector of lengths of each lockdown in days. Default = c(28, 42, 28, 42)

max_lockdowns

Maximum number of lockdowns. Default = 4

seed

RNG seed to be used. Default = 931L


mrc-ide/squire documentation built on Sept. 10, 2022, 1:11 a.m.