Convert Matrix to vector
sparseToVec(s, column = TRUE)
s
Matrix
column
Column (TRUE) or row (FALSE)?
vector