Data Science Guy
Friday, March 11, 2016
Sort A Data Frame In R
Here are 2 ways to sort a data frame in R. One is traditional way. The other one is using dplyr.
gp2<-gp[order(gp$txn),]
gp3<-arrange(gp,txn)
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment