phat: Calculate effective strip width

Description Usage Arguments Value Examples

View source: R/2DLTfunctions.r

Description

Calculate effective strip width, \hat p for a given hazard rate function and perpendicular density distribution.

Usage

1
2
phat(fit = NULL, w = NULL, hr = NULL, b = NULL, ystart = NULL,
  pi.x = NULL, logphi = NULL)

Arguments

w

truncation distance

hr

function describing the hazard rate

b

hazard rate parameter vector

ystart

maximum forward distance

pi.x

function describing the perpendicular distance density distribution

logphi

parameters for pi.x (some maybe logged)

fit=NULL

alternatively just pass in an object resulting from a call of fityx.

Value

Effective strip widith \hat p

Examples

1
phat(w=1,hr=h2,b=log(c(0.75,1)),ystart=4,pi.x=pi.norm,logphi=c(0.5,log(0.2)))

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