View source: R/plot_integer_matrix.R
plot_integer_matrix | R Documentation |
Plot Matrix of Integer as Coloured Squares
plot_integer_matrix(x, colours = NULL)
x |
matrix of integer |
plot_integer_matrix(matrix(nrow = 5, byrow = TRUE, c( 2, 2, 2, 2, 2, 2, 0, 1, 0, 2, 2, 1, 1, 1, 2, 2, 0, 1, 0, 2, 2, 2, 2, 2, 2 )))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.