To pass a dataframe in R to matrix

as.matrix(mtcars)

Some commands work over matrix and not over dataframes

To pass a dataframe in R to matrix

as.matrix(mtcars)

Some commands work over matrix and not over dataframes

© 2017 Statistics tutor — Powered by WordPress

Theme by Anders Noren — Up ↑

## Leave a Reply