matrix_to_list | R Documentation |
Transpose a full matrix into a list of matrices
matrix_to_list(x, blockform = integer(0))
x |
a symmetric matrix of numeric |
blockform |
integer vector, explicitly defined by the user or parsed from a .lst file with 'parse_lst()'. If empty (the default), will be infered with 'infer_blockform()'. |
a list of matrices
m <- matrix(c(1,0.1,0,0,0.1,2,0,0,0,0,.3,0,0,0,0,.4), ncol = 4)
matrix_to_list(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.