simulate_dots: Executes a complete epidemic simulation with the "dots"

Description Usage Arguments Details Value Examples

Description

This will randomly place and seed the dots before simulating an epidemic.

Usage

1
simulate_dots(data, p, cont_plot = T)

Arguments

data

The dataset containing the dots information

p

Transmission kernel parameters

cont_plot

Logical. If TRUE, the plot will be updated for every generation. If FALSE, only a plot of the beginning and of the end of the epidemic will be generated.

Details

The epidemic will end either when all the dots are infected, or when there are no more infected.

Value

An updated dataset and plots of the dots.

Examples

1
dots_data = simulate_dots(data=dots_data, p=params, cont_plot=FALSE)

qleclerc/rdots documentation built on May 10, 2019, 9:52 a.m.