Description Usage Arguments Author(s)
mat2vec converts a matrix to a NA-separated vector where the NA
values separate either rows or columns.
1 | mat2vec(mat, margin = 2)
|
mat |
the matrix to convert to a vector |
margin |
indicates whether NA values separate the rows (margin = 1) or the columns (margin = 2). Default value is 2 |
Marc Choisy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.