uniform_key {EstimationTools} | R Documentation |
Uniform key function
Description
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. |
Details
This is the uniform key function with parameter
sigma
. Its expression is given by
g(x) = \frac{1}{w},
for x > 0.
Value
A numeric value corresponding to a given value of x
and
w
.
Author(s)
Jaime Mosquera GutiƩrrez, jmosquerag@unal.edu.co
See Also
Other key functions:
half_norm_key()
,
hazard_rate_key()
Examples
library(EstimationTools)
#----------------------------------------------------------------------------
# Example: Uniform function
uniform_key(x=1, w=100)
curve(uniform_key(x, w=100), from=0, to=10, ylab='g(x)')
#----------------------------------------------------------------------------
[Package EstimationTools version 4.0.0 Index]