build_sim_covar: Set up a simulation with a 2-level covariate

Description Usage Arguments Details Value Author(s)

Description

This sets up a simulation where we have a 2-level covariate, which we'll call "weather". This covariate will effect detectability and varies in space from left to right across the study area. The way in which it varies is controlled by a logistic function.

Usage

1
build_sim_covar(survey_spec_list, logit_scale, logit_location)

Arguments

survey_spec_list

list of two simulation specs (results from build_sim

logit_scale

the scale of the logit use to define the covariate

logit_location

the location of the logit use to define the covariate

Details

survey_spec_list[[1]] should only have two elements. Truncation from survey_spec_list[[1]] will be used.

Value

a list with three data.frames: obs the observation table, segs the segment table and dist the distance data.

Author(s)

David L Miller


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