hmltm.esw: Calculates esw from model.

Description Usage Arguments Details

Description

Calculates effective strip half-width from model.

Usage

1
2
hmltm.esw(pars, hfun, models, cov, survey.pars, hmm.pars, nx = 100,
  type = "response", to.x = FALSE)

Arguments

pars

starting parameter values, as for est.hmltm.

hfun

detection hazard function name; same as argument FUN of est.hmltm.

models

detection hazard covariate models, as for est.hmltm.

cov

covariate matrix with each row corresponding to an observation. Must contain columns with variables appearing in models, and named accordingly, as well as column of perpendicular distance, named "x". (Perpendicular distances only used if to.x is TRUE.)

survey.pars

survey parameters, as for est.hmltm.

hmm.pars

availability hmm parameters, as for est.hmltm. Must have elements $Et and $Sigma.Et

nx

number of x-values (perpendicular distances) to use in evaluating esw.

type

if "link", parameter vector pars is assumed to be on the link scale, else on the natural scale

to.x

if TRUE integrates only out to cov$x[i] for observation i (else integrates to survey.pars$W).

Details

Returns effective strip half-width (esw) for fitted object hmmlt, integrating using Simpson's rule.


DistanceDevelopment/hsltm documentation built on June 21, 2019, 2:22 p.m.