nllkEuler: Negative log-likelihood function for Langevin movement model...

View source: R/nllkEuler.R

nllkEulerR Documentation

Negative log-likelihood function for Langevin movement model under Euler discretization

Description

Negative log-likelihood function for Langevin movement model under Euler discretization

Usage

nllkEuler(beta, gamma2 = 1, locs, times, ID = NULL, grad_list)

Arguments

beta

Parameters of the utilisation distribution

gamma2

Diffusion parameter

locs

Matrix of observed locations (two columns: x, y)

times

Vector of times of observations

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 .

Value

Negative log-likelihood


papayoun/Rhabit documentation built on July 19, 2023, 8:04 p.m.