list2matrix | R Documentation |
Convert a list to a matrix
list2matrix(lst, dim = c("row", "col"))
lst |
A list. |
dim |
One of |
The list converted to a matrix, by stacking the elements of lst
in the rows or columns of a matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.