This function extracts all row vectors of a matrix and returns the result as a list.
get_rows(data)
data
Matrix from which to extract row vectors.
M = matrix(rnorm(9),3,3) get_rows(M)