build_sim: Create a survey object for simulations

Description Usage Arguments Value Author(s)

Description

Build a survey object using machinery from DSsim. Specify a design, region, population size, resolution and a density surface to generate the relevant simulation settings.

Usage

1
2
build_sim(design_path, region_path, dsurf, df, n_pop = 500, n_sim = 1,
  n_grid = NULL, n_grid_x = NULL, n_grid_y = NULL)

Arguments

design_path

the path to the design shapefile

region_path

path to region shapefile

dsurf

density surface

df

detection function list (elements: key, scale, shape, truncation)

n_pop

true population size

n_sim

number of simulations to generate

n_grid

number of cells in each direction in dsurf (assumed square)

n_grid_x

number of cells in x direction in dsurf (if non-square)

n_grid_y

number of cells in y direction in dsurf (if non-square)

Value

simulation object ready to be run with create.survey.results.

Author(s)

David L Miller


dill/ltdesigntester documentation built on May 15, 2019, 8:30 a.m.