Answers for "how to convert a dataframe to a matrix and preserving the col and row names"

4

data frame to matrix r

data.matrix(frame, rownames.force = NA)
Posted by: Guest on September-15-2020

Code answers related to "how to convert a dataframe to a matrix and preserving the col and row names"

Browse Popular Code Answers by Language