Skip to content
Prev 326076 / 398503 Next

when to use & pros/cons of dataframe vs. matrix?

When "should" I use a dataframe vs. a matrix?  What are the pros and cons?
If I have data of all the same type, am I usually better off using a
matrix and not a dataframe?
What are the advantages if any of using a dataframe vs. a matrix?
(rownames and column names perhaps?)