A generalized linear model on an observed count (or continuous) response
directly, with no detection sub-model and no latent abundance to marginalize.
The abundance analogue of jsdm(): where abun() fits Royle's N-mixture
(latent N plus imperfect detection), count() fits the observed response
as a plain GLMM. This is the "relative abundance" model of spAbundance
(abund): one value per site, log-link Poisson / negative-binomial counts
or an identity-link Gaussian response.
Usage
count(response = c("poisson", "negbin", "gaussian", "binomial"))Arguments
- response
The response distribution:
"poisson"(log link),"negbin"(negative binomial, log link, an estimated size / dispersion),"gaussian"(identity link, an estimated residual variance), or"binomial"(logit link,ksuccesses out ofntrials per site). The binomial response is the detection-free binomial GLMM ofspOccupancy(svcPGBinom): supply the per-site trial count astrials =ontobs()(default 1, i.e. a Bernoulli response). Unlike the count / Gaussian areal fit, a binomial areal field is identified (the variance is pinned byn), so anicar()/car_proper()term composes with anytrials.