Main cost function used during optimization, combining both the fit of the illuminance data with the step-selection function.
likelihood(par, data, model, loc, roi, step_selection, ...)
A vector of parameter values, including one for the uncertainty on the target values.
A nested data structure with validation data included.
A model to run with data and par settings.
The previous modeled step location.
A region of interest with valid sampling locations.
A step selection function on the distance of a proposed move.
extra arguments to pass to the function
The single log-likelihood cost of a proposed parameter set.