set_params: Create the transmission kernel parameters

Description Usage Arguments Value Examples

View source: R/set_params.R

Description

This is needed to execute the update_all and simulate_all functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
set_params(
  size = 250,
  rep_bac = 2,
  rep_bac_res = 2,
  movement_bac = 10,
  abx_con = 0,
  mutate_bac = 0,
  movement_pha = 10,
  beta = 0.5,
  burst = 10,
  trans = 0.1,
  decay = 0.5
)

Arguments

size

The size of the space within which the bacteria and phage can move.

rep_bac

Replication rate of bacteria

rep_bac_res

Replication rate of resistant bacteria

movement_bac

The maximum distance that bacteria can move during one generation

movement_pha

The maximum distance that phage can move during one generation

beta

Phage infection probability

burst

Phage burst size

trans

Probability of transduction instead of normal replication

Value

A vector containing the parameter values

Examples

1
params = set_params()

qleclerc/spatial_phage documentation built on Dec. 4, 2020, 10:11 p.m.