set_params: Create the transmission kernel parameters

Description Usage Arguments Value Examples

Description

This is needed to execute the update_dots and simulate_dots functions

Usage

1
2
set_params(size = 250, numinf = 2, movement = 10, inf_dist = 25,
  recover = 14, beta = 0.5, power = 0.9, offset = 10)

Arguments

size

The size of the space within which the dots can move.

numinf

The number of dots to infect

movement

The maximum distance that dots can move during one generation

inf_dist

The maximum distance that an infected dot can transmit the disease

recover

The average number of generations before recovering after infection

beta

Transmission parameter

power

Kernel parameter

offset

Kernel parameter

Value

A vector containing the parameter values

Examples

1
params = set_params()

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