Description Usage Arguments Value Examples
plot the board
1 2 | ## S3 method for class 'board'
plot(x)
|
x |
board object |
ggplot of the board with squares 0 = black, 1 = white, 2 = blue
1 | plot.board(board(matrix(c(0,1,1,1,0,0,1,1,0,1,0,0,1,0,0,0,0,0,2,2,2,2,2,2,0), 5, 5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.