make_world: Detection-explicit world building

Description Usage Arguments Examples

View source: R/sim_functions.R

Description

make_world() builds a world according to your size and detection specifications

Usage

1
2
make_world(rows, columns, det_dist = "random", min_det = 0, max_det = 1,
  shape1 = 10, shape2 = 10)

Arguments

rows

is the number of rows in the simulated world

columns

is the number of columns in the simulated world

det_dist

is the statistical distribution from which cell-specific detection probabilities will be drawn. Options include a random uniform, 'random', and beta distribution, 'beta'. Defaults to a random uniform between 0 and 1.

min_det

is the minimum detection probability of any cell in the simulation

max_det

is the maximum detection probability of any cell in the simulation

shape1

is the first shape parameter of the beta distribution.

shape2

is the second parameter of the beta distribution.

Examples

1
make_world(rows = 10, columns = 10, det_dist = 'random', min_det = 0, max_det = 1)

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