Sy: Calculates survivor function

Description Usage Arguments Details Value Examples

View source: R/2DLTfunctions.r

Description

Calculates survivor function to forward distance y, for given perpendicular distance x and given forward distance range.

Usage

1
Sy(x, y, ymax, b, hfun)

Arguments

x

perpendicular distance (scalar)

y

forward distance (scalar)

ymax

largest forward distance

b

vector of detection hazard function parameters

hfun

detection hazard function

Details

Calculates probability of making it from forward distance ymax to y without being detected.

Value

Probability of making it from forward distance ymax to y without being detected.

Examples

1
2
3
4
5
## Not run: 
ymax=5
Sy(0,0.1,ymax,b,h2)

## End(Not run)

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