conduct_replicate | R Documentation |
projections
Handles simulating replicates within projections
conduct_replicate( x, r = NULL, t_steps = NULL, R0 = NULL, R0_change = NULL, tt_R0 = NULL, contact_matrix_set = NULL, contact_matrix_set_change = NULL, tt_contact_matrix = NULL, hosp_bed_capacity = NULL, hosp_bed_capacity_change = NULL, tt_hosp_beds = NULL, ICU_bed_capacity = NULL, ICU_bed_capacity_change = NULL, tt_ICU_beds = NULL, model_user_args = NULL )
x |
Simulation replicate number |
r |
Output of |
t_steps |
List of time steps to be run for each replicate |
R0 |
Numeric vector for R0 from t = 0 in the calibration.
E.g. |
R0_change |
Numeric vector for relative changes in R0 relative to the
final R0 used in the calibration (i.e. at t = 0 in the calibration)
E.g. |
tt_R0 |
Change time points for R0 |
contact_matrix_set |
Contact matrices used in simulation. Default =
NULL, which will use |
contact_matrix_set_change |
Numeric vector for relative changes in the
contact matrix realtive to the final contact matrix used in the calibration
(i.e. at t = 0 in the calibration).
E.g. |
tt_contact_matrix |
Time change points for matrix change. Default = 0 |
hosp_bed_capacity |
Numeric vector for hospital bed capacity
from t = 0 in the calibration. Default = NULL, which will use
|
hosp_bed_capacity_change |
Numeric vector for relative changes in
hospital bed capacity relative to the final hospital bed capacity used in the
calibration (i.e. at t = 0 in the calibration).
E.g. |
tt_hosp_beds |
Change time points for hosp_bed_capacity |
ICU_bed_capacity |
Numeric vector for ICU bed capacity
from t = 0 in the calibration. Default = NULL, which will use
|
ICU_bed_capacity_change |
Numeric vector for relative changes in
ICU bed capacity relative to the final ICU bed capacity used in the
calibration (i.e. at t = 0 in the calibration).
E.g. |
tt_ICU_beds |
Change time points for ICU_bed_capacity |
model_user_args |
List of other parameters to be passed to the model to be run. Default = NULL. An example would be:
The list should be the same length as the number of replicates in the
simulations. Each list element should then be a list with elements
named to match the arguments expected by the odin model with |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.