Skip to contents

Simulation of distance sampling data via mixture models Allows one to simulate line transect distance sampling data using a mixture of half-normal detection functions.

Usage

sim.mix(n, sigma, mix.prop, width, means = 0)

Arguments

n

number of samples to generate

sigma

vector of scale parameters

mix.prop

vector of mixture proportions (same length as sigma)

width

truncation

means

vector of means (used to generate wacky, non-monotonic data)

Value

distances a vector of distances

Note

At the moment this is TOTALLY UNSUPPORTED! Please don't use it for anything important!

Author

David Lawrence Miller