pi.hr2: Perpendicular animal density function calulated from hazard...

Description Usage Arguments Value See Also Examples

View source: R/2DLTfunctions.r

Description

Calculates perpendicular animal density π(x) using the prependicular distance function of the hazard rate function k(r,y)=a √{(r^2-y^2)}/r^{(b+1)}; b>2 on page 36 of Hayes and Buckland (1983) #' from the hazard function given on page 37, of that paper (and implemented in function hr1.to.p).

Usage

1
pi.hr2(x, logphi, w)

Arguments

x

perpendicular distance.

logphi

vector of parameters of h1 (on log scale).

w

perpendicular truncation distance

Value

Animal density at x calculated from hazard rate h1

See Also

h1 h2 pi.hr1

Examples

1
2
3
x=seq(0,1,length=50)
plot(x,pi.hr2(x,logphi=c(-0.2876821, -2.3025851),w=1),
xlab='x',ylab=expression(pi(x)),type='l')

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