powered by
The node length calculates all the nodes on the longest row for a given rank.
topNodes(rank)
This is the Rank of the maze.
This needs to have a rank value of greater than 1. This is needed so that you can cross check how many coloured nodes are located on the longest row.
# NOT RUN { rank <-3 topNodes(rank) # }
Run the code above in your browser using DataLab