secr.fit by summing values at
points on a `habitat mask'. Each point in a habitat mask represents a
grid cell of potentially occupied habitat (their combined area may be
almost any shape and may include disjunct patches).
The density model may take one of two forms: a user-provided Rfunction
or a linear model on the link scale (see the link argument of
secr.fit; the default link for density is
`log'). User-provided functions are described in the accompanying
vignette model argument of secr.fit. It is expressed in Rformula notation by appending terms to $\sim{~}$.
Density surfaces resulting from the fitting of SECR models are
manipulated in secr models,
secr detection models,
secr.fit,
Dsurface,
predictDsurface,
plot.DsurfaceD = ~ 1 ## constant density (homogeneous Poisson)
D = ~ x ## east-west trend
D = ~ cover ## requires 'cover' as a mask covariateRun the code above in your browser using DataLab