My notes no DPLYR package.
This is how you read in dplyr:
library(dplyr)
I think the following requires dplyr, but I am not 100% sure.
Sorting can be done in this way. "desc" means descending.
arrange(sales, desc(profit),desc(units))
My notes no DPLYR package.
This is how you read in dplyr:
library(dplyr)
I think the following requires dplyr, but I am not 100% sure.
Sorting can be done in this way. "desc" means descending.
arrange(sales, desc(profit),desc(units))