View source: R/gradientInterpolation.R
gradLogUD | R Documentation |
Gradient of the log of the utilisation distribution
gradLogUD(beta, loc, cov_list = NULL, grad_fun = NULL, check = T)
beta |
Vector of resource selection coefficients |
loc |
Point at which the gradient should be evaluated (2d vector) |
cov_list |
List of J (number of covariates) "raster like" elements. A raster like element is a 3 elements list with named elements 1) "x" a vector of increasing x locations (at which the covariate is sampled) 2) "y" a vector of increasing y locations (at which the covariate is sampled) 3) "z" a size(x)*size(y) matrix giving covariate values at location (x, y) |
grad_fun |
Optional list of functions taking a 2d vector and returning a two 2d vector for the gradient |
check |
logical check wether cov_list and grad_fun have the right format, default to TRUE |
Gradient of the log-UD in loc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.