Model.update_running_params: Update a parameter during a simulation

Description Usage Arguments

View source: R/Model.R

Description

A subset of parameters may be updated whilst the model is evaluating these correspond to events. This function throws an error if param isn't safe to update.

Usage

1
Model.update_running_params(model, param, value)

Arguments

model

A Model object

param

name of parameter. See SAFE_UPDATE_PARAMS for allowed parameter names

value

value of parameter


OpenABMCovid19 documentation built on July 20, 2021, 5:08 p.m.