kernel_param {graph4lg} | R Documentation |
Compute dispersal kernel parameters
Description
The function computes the constant parameters of a dispersal kernel with a negative exponential distribution
Usage
kernel_param(p, d_disp, mode = "A")
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:
|
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)
Value
A numeric value
Author(s)
P. Savary
Examples
p <- 0.5
d_disp <- 3000
alpha <- kernel_param(p, d_disp, mode = "A")