Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
R
r convert matrix to list of column vectors
user65083
Programming language:
R
2021-02-01 01:53:40
0
Q:
r convert matrix to list of column vectors
Michay
Code:
R
2021-02-01 01:58:04
# Basic syntax: split(your_matrix, rep(1:ncol(your_matrix), each = nrow(your_matrix)))
1
Tags
list
con
matrix
vector
Related
r find elements in common between vectors
list to vector r
R grid all possibilites between two vectors
turn matrix into dataframe r
New to Communities?
Join the community