Advance model by one tick (i.e., one day). Calculate progress of disease (exposed people become infectious, and infectious people recover) and then calculate transmission of the disease (stochastically, infectious people may infect susceptible people) through network connections.

tick(model, tracing = FALSE)

Arguments

model

A model object, created by setup_model()

tracing

Whether to print informative messages about the results of the tick. If it's TRUE or 1, a message is printed. If it's greater than 1 additional messages from infect() are printed.

Value

An updated model

Examples

# ADD_EXAMPLES_HERE