Description Usage Arguments Details Value Examples
Functions for producing and identifying procedurally generated random mazes.
1 2 3 4 5 |
nrow |
Number of rows. |
ncol |
Number of columns. |
x |
A matrix-like object to be made into a maze (for |
For as.maze
, if x
is a binary matrix (or otherwise
contains only two unique values), the maze will be constrained to occupy
only those cells containing a 1 (the higher value).
For maze
and as.maze
, an object of class maze
, which is
a subclass of matrix
.
For is.maze
a logical value indicating if the input is a valid
maze
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.