Skip to contents

[Experimental]

This function provides the uniform key function for model fitting in distance sampling.

Usage

uniform_key(x, w)

Arguments

x

vector of perpendicular distances from the transect.

w

half width of the strip transect.

Value

A numeric value corresponding to a given value of x and w.

Details

This is the uniform key function with parameter sigma. Its expression is given by

\(g(x) = \frac{1}{w},\)

for x > 0.

See also

Other key functions: half_norm_key(), hazard_rate_key()

Author

Jaime Mosquera Gutiérrez, jmosquerag@unal.edu.co

Examples

library(EstimationTools)

#----------------------------------------------------------------------------
# Example: Uniform function
uniform_key(x=1, w=100)
#> [1] 0.01
curve(uniform_key(x, w=100), from=0, to=10, ylab='g(x)')


#----------------------------------------------------------------------------