HBhr: Hayes+Buckland hazard rate model.

Description Usage Arguments Value See Also Examples

View source: R/GoF.r

Description

Evaluates the Hayes and Buckland (1983) hazard rate model (HB model) as parameterised on page 36 of that paper.

Usage

1
HBhr(x, theta)

Arguments

x

perpendicular distance(s).

theta

parameter vector with theta[1] being HB model parameter a1 and theta[2] being b.

Value

g(x)=1-exp(-a1*x^(-(b-1))).

See Also

h1.to.HB

Examples

1
2
3
xx=seq(0,0.03,length=100)
p=HBhr(xx,h1.to.HB(c(-7, 0.85)))
plot(xx,p,type="l",xlab="Perpendicular distance (x)",ylab="p(x)",ylim=c(0,1))

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