chr_to_matrix | R Documentation |
Character vector to matrix
chr_to_matrix(x, value = 0)
x |
character vector |
value |
value in matrix |
creates square matrix with x
as row and column names and val
as values
d1 <- letters[1:3]
chr_to_matrix(d1, 3:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.