set_list_set_matrix | R Documentation |
Matrix representatation of list of vectors and vice versa
set_list2matrix(set_list, aggregate = FALSE)
matrix2set_list(set_matrix)
set_list |
list of vectors |
aggregate |
should the vectors be aggregated |
set_matrix |
matrix representatation |
l <- list(c(1,2,3), c(3,2,4), c(3,2,4))
m1 <- set_list2matrix(l)
m1
matrix2set_list(m1)
m2 <- set_list2matrix(l, aggregate=TRUE)
m2
matrix2set_list(m2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.