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

Anika Masters anika.masters at gmail.com
Thu Jun 27 20:26:07 CEST 2013


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?)



More information about the R-help mailing list