gdistremoval.Rd
Fit the model of Amundson et al. (2014) to point count datasets containing both distance and time of observation data. The Amundson et al. (2014) model is extended to account for temporary emigration by estimating an additional availability probability if multiple counts at a site are available. Abundance can be modeled as a Poisson, negative binomial, or Zero-inflated Poisson. Multiple distance sampling key functions are also available.
gdistremoval(lambdaformula=~1, phiformula=~1, removalformula=~1,
distanceformula=~1, data, keyfun=c("halfnorm", "exp", "hazard", "uniform"),
output=c("abund", "density"), unitsOut=c("ha", "kmsq"), mixture=c('P', 'NB', 'ZIP'),
K, starts, method = "BFGS", se = TRUE, engine=c("C","TMB"), threads=1, ...)
A right-hand side formula describing the abundance covariates
A right-hand side formula describing the availability covariates
A right-hand side formula describing removal probability covariates
A right-hand side formula describing the detection function covariates
An object of class unmarkedFrameGDR
One of the following detection functions: "halfnorm", "hazard", "exp", or "uniform"
Model either "abund" or "density"
Units of density. Either "ha" or "kmsq" for hectares and square kilometers, respectively
Either "P", "NB", or "ZIP" for the Poisson, negative binomial, and Zero-inflated Poisson models of abundance
An integer value specifying the upper bound used in the integration
A numeric vector of starting values for the model parameters
Optimization method used by optim
logical specifying whether or not to compute standard errors
Either "C" to use C++ code or "TMB" to use TMB for optimization
Set the number of threads to use for optimization in C++, if
OpenMP is available on your system. Increasing the number of threads
may speed up optimization in some cases by running the likelihood
calculation in parallel. If threads=1
(the default), OpenMP is disabled
Additional arguments to optim, such as lower and upper bounds
An object of class unmarkedFitGDR
Amundson, C.L., Royle, J.A. and Handel, C.M., 2014. A hierarchical model combining distance sampling and time removal to estimate detection probability during avian point counts. The Auk 131: 476-494.