Сортировать DataFrame dplyr
# sort the dataframe in R using multiple variable with Dplyr
mydata %>% arrange(desc(mpg), gear)
Arrogant Ant
# sort the dataframe in R using multiple variable with Dplyr
mydata %>% arrange(desc(mpg), gear)