Description Usage Arguments Value Author(s) References Examples
gausskern
calculates 2D Gaussian kernel based on kernel size,
deviation, and advection
1 |
siz |
size of the kernel, siz x siz. Must be a positive integer. |
sigma |
standard deviation of the kernel. Unit is cell width. Must be a positive number. |
muadv |
advection of the kernel. Unit of the input is cell width. Defaults to 0. |
Gaussian kernel as a 2D matrix of size (siz x siz)
Function originally written for Matlab by Martin W. Pedersen, translated to R by Benjamin Galuardi
Pedersen, M.W., Righton, D., Thygesen, U.H., Andersen, K.H., and Madsen, H. 2008. Geolocation of North Sea cod (Gadus morhua) using hidden Markov models and behavioural switching. Canadian Journal of Fisheries and Aquatic Sciences 65(11): 2167-1377.
1 | kern = gausskern(3, 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.