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

© 2018 Statistics tutor — Powered by WordPress

Theme by Anders Noren — Up ↑

## Leave a Reply