list2_to_matrix | R Documentation |
We expect the same representation as in serial-reaction-time-mouse: Each inner array represents a single row. The entries in the inner arrays represent the columns.
list2_to_matrix(x, byrow = T)
x |
List of lists, expecting all inner-lists of the same length |
byrow |
logical. If TRUE (the default) the matrix is filled by rows, otherwise the matrix is filled by columns. |
Matrix
l <- list(list(1:3), list(4:6)) list2_to_matrix(l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.