View source: R/print.nonogram.R
print.nonogram | R Documentation |
Simply prints the dimensions of the nonogram and whether it has been solved. If the nonogram has been solved, the solution matrix is also printed.
## S3 method for class 'nonogram'
print(nonogram)
nonogram |
An object of class |
f <- nonogram(
rows = list(
c(1), c(1), c(2, 1), c(2, 1), c(3, 2), c(4, 3), c(5, 4), c(1), c(8), c(6)
),
columns = list(
c(1), c(2, 1), c(3, 2), c(5, 2), c(7, 2), c(3), c(5, 2), c(3, 2), c(2, 1), c(1)
)
)
print(f)
f <- solve(f)
print(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.