High-level model interface

Generate a model and run it

setup_model()

Set up a model

setup_test_model()

FUNCTION_TITLE

run_model()

Run a model

Low-level model interface

Manipulate details of agent and network creation, and running.

build_agent_df()

Create one or more agents

tick()

Advance model by one tick

infect()

Propagate infections on the network

progress_disease()

Progress agents in the "E" and "I" compartments to the next compartments ("I" and "R", respectively).

Very low-level interface

Access details of model parameters

decode_age_bracket()

Translate text representation of an age bracket into an ordered factor

decode_seir()

Translate integer index to SEIR level

get_age_bracket()

Get the age bracket

get_seir_level()

Translate a letter into an integer SEIR level

transition_prob()

Look up a progression probability to the next compartment

Set up model parameters

Create parameter sets or read them from disk.

generate_agent_params()

Build a list of parameters for constructing agents