DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+6 =
Submit