Description Usage Arguments Examples
View source: R/sim_functions.R
The populate_world function initiates simulated organisms in a DiagnoseHR world
1 | populate_world(num_organisms, worldToPopulate, num_per_cell, replace = FALSE)
|
num_organisms |
is the number of simulated organisms to init |
worldToPopulate |
is a make_world() detection world |
num_per_cell |
is the maximum number of oganisms which may share a cell |
replace |
cells may be sampled with or without replacement |
1 | populate_world(num_organisms = 3, worldToPopulate = world, num_per_cell = 1, replace = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.