negllik.x: HMM line transect model likelihood with only perpendicular...

View source: R/fitting.R

negllik.xR Documentation

HMM line transect model likelihood with only perpendicular distances.

Description

Evaluates HMM line transect model likelihood with both perpendicular distance but no forward distance data.

Usage

negllik.x(
  b,
  xy,
  FUN,
  models,
  pm,
  Pi,
  delta,
  theta.f,
  theta.b,
  W,
  ymax,
  dy,
  nx = 100
)

Arguments

b

likelihood function parameters.

xy

detections data, including x values for each detection, plus any covariates in model).

FUN

detection hazard function name.

models

model specification, as in est.hmltm.

pm

state-dependent Bernoulli parameters.

Pi

Markov model transition probability matrix.

delta

Markov model stationary distribution.

theta.f

REDUNDANT must = 0.

theta.b

REDUNDANT must = 90.

W

perpendicular truncation distance for fitting.

ymax

forward distance by which detection hazard has fallen to zero.

dy

Markov model distance step size.

nx

number of x-values to use in evaluating detection function.


david-borchers/hmltm documentation built on Oct. 29, 2023, 9:07 p.m.