hr1.to.p: Calculate harzard rate perpendicular distance function from...

Description Usage Arguments Value See Also Examples

View source: R/2DLTfunctions.r

Description

Implements the a prependicular distance function of the hazard rate function k(x,y)=a*r^(-b) on page 36 of Hayes and Buckland (1983) from the hazard function given on page 37 of that paper (and implemented in function h1).

Usage

1
hr1.to.p(x, b, w)

Arguments

x

perpendicular distance.

b

vector of parameters of h1 (on log scale).

w

perpendicular truncation distance

Value

value of hazard rate detection function at x

See Also

h1 pi.hr1

Examples

1
2
3
b=log(c(0.01,1.01))
x=seq(0,1,length=50)
plot(x,hr1.to.p(x,b),type="l",ylim=c(0,1),xlab="Perpendicular distance",ylab="P(detect)")

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