sim.mix {mrds} | R Documentation |
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.
Description
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(s)
David Lawrence Miller
[Package mrds version 2.3.0 Index]