The function computes the constant parameters of a dispersal
kernel with a negative exponential distribution
Usage
kernel_param(p, d_disp, mode = "A")
Value
A numeric value
Arguments
p
A numeric value indicating the dispersal probability at a distance
equal to 'd_disp' under a negative exponential distribution.
d_disp
A numeric value indicating the distance to which dispersal
probability is equal to 'p' under a negative exponential distribution.
mode
A character string indicating the value to return:
If 'mode = 'A'' (default), the returned value 'alpha' is such that
exp(-alpha * d_disp) = p
If 'mode = 'B'', the returned value 'alpha' is such that
10(-alpha * d_disp) = p
Author
P. Savary
Details
If the resulting parameter when mode = "A" is a and the resulting
parameter when mode = "B" is b, then we have:
p = exp(-a.d_disp) = 10^(-b.d_disp) and a = b.ln(10)