langevinUD.Rd
Obtaining UD estimate of an animal using Langevin movement model
langevinUD( locs, times, ID = NULL, grad_list, with_speed = TRUE, alpha = 0.95, leverage = FALSE )
locs | Matrix of locations having size, say, n |
---|---|
times | Vector of observation times, must be of length n |
ID | Vector of track identifiers, must be of length n |
grad_list | list of gradients of covariates, evaluated at the locations of the observations, must be 3d array of dim(n, 2, J) where J is the amount of covariates |
with_speed | Logical. If TRUE, the speed parameter is estimated Other wise it is set to one |
alpha | Confidence level (default: 0.95, i.e. 95% confidence intervals) |
leverage | Logical. If TRUE, the standardized residuals and the leverage are returned. Default: FALSE. Might not work when there are many observations, because it creates an n times n matrix. |
A list of: est, the vector of estimates, and var, the covariance matrix of the estimates.