Description Usage Arguments Methods (by class)
'move' an arrangement in a given direction
1 2 3 4 5 6 7 | neighbours.at(x, dir)
## S3 method for class 'matrix'
neighbours.at(x, dir)
## S3 method for class 'list'
neighbours.at(x, dir)
|
x |
matrix or list of matrices |
dir |
a direction in ('N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW') |
matrix
: Returns the matrix of neighbours in the specified
direction
list
: Returns the list of matrices of neighbours in the
specified direction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.