반응형 arrange()1 (R) [dplyr] Rearrange data in order / arrange() / arrange(desc()) >library(ggplot2)>library(dplyr) > the_number_of_each_manu%group_by(manufacturer)%>%summarise(n=n()) > the_number_of_each_manu# A tibble: 15 x 2 manufacturer n 1 audi 18 2 chevrolet 19 3 dodge 37 4 ford 25 5 honda 9 6 hyundai 14 7 jeep 8 8 land rover 4 9 lincoln 310 mercury 411 nissan 1312 pontiac 513 subaru 1414 toyota 3415 volkswagen 27 arrange()-order in the smallest to the largest > the_numb.. 2020. 7. 26. 이전 1 다음 반응형