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 full design
matrix for density (D) has one row for each point in the mask. The
design matrix has one column for the intercept (constant) term and one
for each predictor.
Predictors may be based on Cartesian coordinates (e.g. 'x' for an
east-west trend), a continuous habitat variable (e.g. vegetation cover)
or a categorical (factor) habitat variable. Predictors must be known for
all points in the mask (non-habitat excluded). The variables 'x', 'y',
'session' and 'g' are provided automatically. Other covariates should be
named columns in the 'covariates' attribute of the habitat mask.
The fitted model for density is linear on the link scale (see the
link
argument of secr.fit
. The default link for
density is 'log'.
covariates (mask)
as named in formula
}
The submodel for density (D) is a named component of the list used in
the model
argument of secr.fit
. It is expressed in Rformula notation by appending terms to $\sim{~}$.secr models
, secr detection models
, secr.fit
list(D = ~ 1) ## constant density (homogeneous Poisson)
list(D = ~ x) ## east-west trend
list(D = ~ cover) ## requires 'cover' as a mask covariate
Run the code above in your browser using DataLab