Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r convert matrix to list of column vectors

# Basic syntax:
 split(your_matrix, rep(1:ncol(your_matrix), each = nrow(your_matrix)))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #matrix #list #column #vectors
ADD COMMENT
Topic
Name
8+6 =