Difference Between Matrix And Dataframe In R