
occuRN(formula, data, K=25, starts, method="BFGS", control=list(),
se=TRUE)
optim
.optim
.y
,
covdata.site
, and covdata.obs
, and specifying covariates
with stateformula
and detformula
.This function fits the latent abundance mixture model described in Royle and Nichols (2003).
The latent abundance of site $i$ is modelled as Poisson:
The detection of a single individual in site $i$ during sample $j$ is modelled as Bernoulli:
Thus, the detection probability for a single site is linked to the detection probability for an individual by
Covariates of $\lambda_i$ are modelled with the log link and covariates of $r_{ij}$ are modelled with the logit link.
data(birds)
woodthrushUMF <- unmarkedFrameOccu(woodthrush.bin)
(fm.wood.rn <- occuRN(~ obs ~ 1, woodthrushUMF))
Run the code above in your browser using DataLab