sample_world: Sample a movement record from a correlated random walk in a...

Description Usage Arguments Examples

View source: R/sim_functions.R

Description

Sample a movement record from a correlated random walk in a detection landscape

Usage

1
2
sample_world(world, walk, n.cells, sample.steps, replace.step = F,
  replace.world = T, seed = NULL)

Arguments

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

Examples

1
sample_world(world = world, walk = walk, sample.steps = seq(1,10,1), replace.step = F, replace.world = T, seed = NULL)

lsw5077/DiagnoseHR documentation built on Aug. 16, 2019, 11:33 a.m.