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 Statistical tools and consulting service
Statsitics, Research Methods, SAS, R, HLM, Rasch model
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))