w {rNeighborGWAS} | R Documentation |
Calculating a distance decay weight
Description
A function to calculate, with a negative exponential or Gaussian dispersal kernel.
Usage
w(s, a, kernel = c("exp", "gaussian"))
Arguments
s |
A numeric scalar indicating spatial distance at which the distance decay is referred |
a |
A numeric scalar indicating a decay coefficient |
kernel |
An option to select a negative exponential |
Value
A numeric scalar for a distance decay weight.
Author(s)
Yasuhiro Sato (sato.yasuhiro.36c@kyoto-u.jp)
[Package rNeighborGWAS version 1.2.4 Index]