Description Usage Arguments Value
Create a Matrix containing Weights for each Combination of Hexagons
1 | weightMatrix(template, method = "exp", gamma = 8, val = c(0.5, 0.25, 0.25))
|
template |
A |
method |
"exp" for exponential, "disc" or anything else for discrete approach |
gamma |
Integer controlling the speed of the decrease. Only applies when method = "exp". |
val |
A vector containing weights for each ranked distance between hexagons. Only applies when method = "disc". |
A matrix containing weights for each combination of hexagons. To be used in weightedBray
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.