build_sim_covar_measured: Set up a simulation with a measured covariate

Description Usage Arguments Details Value Author(s)

Description

This sets up a simulation where we have a covariate we already measured. For each segment we have a value for that covariate, we give this function a detection function for each covariate.

Usage

1
build_sim_covar_measured(survey_spec_list, cov_values, survey)

Arguments

survey_spec_list

list of two simulation specs (results from build_sim

cov_values

covariate values, vector with same length as number of segments

Details

survey_spec_list has as many elements as there are levels of the covariate. 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.