nllkLG | R Documentation |
Negative log-likelihood function for the local Gibbs model
nllkLG(par, ID = NULL, xy, rdist = c("fixed", "exp", "gamma", "weibull"), MCgrids, cov, lim, res, debug = FALSE)
par |
Vector of parameters, i.e. resource selection coefficients and parameters for the distribution of the radius. |
ID |
Vector of track IDs |
xy |
Matrix of observed locations |
rdist |
Distribution of availability radius ("fixed", "exp", "gamma", or "weibull") |
MCgrids |
List of Monte Carlo samples, with components gridr (if needed),
gridc, and gridz. As output by |
cov |
Array of covariates (one layer for each covariate) |
lim |
Limits of the covariate rasters. |
res |
Resolution of the covariate rasters. |
debug |
Logical. If TRUE, the function also returns the log-likelihood of each step |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.