Description Usage Arguments Value Examples
This is needed to execute the update_all and simulate_all functions
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
)
|
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 |
A vector containing the parameter values
1 | params = set_params()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.