Description Usage Arguments Examples
View source: R/sim_functions.R
Sample a movement record from a correlated random walk in a detection landscape
1 2 | sample_world(world, walk, n.cells, sample.steps, replace.step = F,
replace.world = T, seed = NULL)
|
world |
The detection world to sample |
walk |
The correlated random walk to sample |
n.cells |
The number of cells to sample per timestep |
sample.steps |
The number of time steps to sample |
replace.step |
Whether to sample with replacement within a time step |
replace.world |
Whether to sample with replacement within the entire simulation |
seed |
An optional seed |
1 | sample_world(world = world, walk = walk, sample.steps = seq(1,10,1), replace.step = F, replace.world = T, seed = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.