Description Usage Arguments Value Examples
transform_vec function; transforms a vector of strings containing "*" and "." to a "board" object
1 | transform_vec(v, d)
|
v |
vector of strings of "*" and "." |
d |
integer, dimensions of matrix |
"board" object, superclass "matrix" containing only 0s and 1s
1 | transform_vec(c("."), 1), transform_vec(c("*"), 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.