The primary purpose of m2LL.FPBK.det
is to estimate the spatial
covariance parameters using Maximum Liklihood when detection
is included.
m2LL.FPBK.det(theta, zcol, XDesign, xcoord, ycoord, CorModel, pivec, Vnn)
theta | is the parameter vector of (nugget, partialsill, range) |
---|---|
zcol | is the response vector of counts |
XDesign | is the design matrix containing the covariates used to predict animal or plant abundance (including a column of 1's for the intercept). |
xcoord | is a vector of the x spatial coordinates (in UTM) |
ycoord | is a vector of the y spatial coordinates (in UTM) |
CorModel | is the geostatistical spatial correlation model to be used. See the |
pivec | is a vector of estimated detection probabilities on each of the sites |
Vnn | is the covariance matrix for the estimated detection probabilities |
A numeric output of minus 2 times the restricted log likelihood to be minimized by `optim` to obtain spatial parameter estimates.