Description Usage Arguments Value Details Author(s) References See Also Examples
Fits a mixture of half-normals as a detection function to distance sampling data collected via either line or point transects, possibly with covariates.
1 2 3 4 |
data |
|
width |
Truncation distance. |
mix.terms |
Number of mixture components to use. Defaults to 1 (ie. CDS). |
pt |
Is the data from point transects? Default FALSE. |
model.formula |
Formula to be used for the covariates. Defaults to "~1" (ie. no covariates). |
initialvalues |
User supplied initialvalues if
needed. Defaults to |
showit |
Debugging level from 0 to 3, with 3 being most verbose. Defaults to 0. |
ctrl.options |
Options to give to the
|
opt.method |
Optimisation method to use, one of "BFGS", "BFGS+SANN" or "EM". Defaults to "BFGS+SANN", see Details. |
usegrad |
Should analytic derivatives be used in the optimisation? Default TRUE. |
ftype |
Function type to be used as the detection function, currently only "hn". |
a ds.mixture
model object.
This is the main routine that fits mixture model detection functions.
data
should be a data.frame
with (at least)
a column named distance
. Any covariates given in
model.formula
should be named in data
. Note
that rows with distance
greater than width
will be discarded.
See step.ds.mixture
for AIC selection for
the number of mixture components.
David L. Miller
Miller, D.L. and L. Thomas (in prep.). Mixture model distance sampling detection functions.
summary.ds.mixture
step.ds.mixture
plot.ds.mixture
sim.mix
mmds.gof
ds.mixture
mmds.gof
fitmix
mmds.pars
step.ds.mixture
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.