Description Usage Arguments Value Examples
Returns a matrix representing all neighbors for a given board
1 | neighbors(padded_board)
|
padded_board |
A square matrix representing a boggle board surrounded by NA cells. |
an adjacency matrix where each column represents one cell in the boggle board matrix, and each row represents one of 8 possible adjacent cells.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.