trigger_projections | R Documentation |
Project lockdowns based on triggering
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 )
out |
Output of |
trigger_metric |
Name of model output to tigger by. Must be one accepted
by |
trigger_value |
Value of |
R0_lockdowns |
Vector of R0 values to be used for each lockdown.
|
lockdown_lengths |
Vector of lengths of each lockdown in days.
|
max_lockdowns |
Maximum number of lockdowns. |
seed |
RNG seed to be used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.