Description Usage Arguments Value
Return the direction number from current to other cell of a hexmatrix.
1 | whichDir(current, other, m)
|
current |
The index of the actual cell in hexmatrix |
other |
The index of the neighbouring cell |
m |
The underlying hexmatrix or hexarray |
A number from 1 to 6 indicating the direction from current to
other cell. NA is returned if current and other are not neighbours.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.