ep2: Four-parameter exponential power hazard detection function

Description Usage Arguments Value References

View source: R/2DLTfunctions.r

Description

Inverse power hazard function, as per Borchers and Langrock (in press): Has form h(y,x)=theta[1]*exp(-(x^theta[3]+y^theta[3])/(theta[2]^theta[3])).

Usage

1
ep2(y, x, b)

Arguments

y

Forward distance

x

perpendicular distance

b

parameter vector, where b[1] is plogis(theta[1]) b[2] is log(theta[2]), where theta[2] is the scale parameter for x, b[3] is log(theta[3]) and b[2] is log(theta[4]), where theta[4] is the scale parameter for y.

Value

probability of detection given that an animal is availabe at location x,y #'@examples b=c(1, -4, 1) ep1(0.5,0.5,b=b) yy=seq(0,0.03,length=100);xx=rep(0,100) hh=ep1(yy,xx,b=b) plot(yy,hh,type="l")

References

Borchers, D.L and Langrock, R."Double-observer line transect surveys with Markov- modulated Poisson process models for animal availability" Biometrics (in press).


david-borchers/LT2D documentation built on Aug. 17, 2020, 1:37 a.m.