r convert matrix to list of column vectors code example
Example: r convert matrix to list of column vectors
# Basic syntax:
split(your_matrix, rep(1:ncol(your_matrix), each = nrow(your_matrix)))
# Basic syntax:
split(your_matrix, rep(1:ncol(your_matrix), each = nrow(your_matrix)))