matr2list | R Documentation |
convert matrix to list of vectors: each column of 'mat' as vector of list
matr2list(mat, concSym = ".", silent = FALSE, debug = TRUE, callFrom = NULL)
mat |
(matrix) main input |
concSym |
(character) symbol for concatenating: concatenation of named vectors in list names as colname(s)+'concSym'+rowname |
silent |
(logical) suppress messages |
debug |
(logical) additional messages for debugging |
callFrom |
(character) allow easier tracking of messages produced |
matrix or array (1st dim is intraplate-position, 2nd .. plate-group/type, 3rd .. channels)
convToNum
mat1 <- matrix(1:12,ncol=3,dimnames=list(letters[1:4],LETTERS[1:3]))
mat2 <- matrix(LETTERS[11:22],ncol=3,dimnames=list(letters[1:4],LETTERS[1:3]))
matr2list(mat1); matr2list(mat2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.