1.sort. data <- c(5,6,8,2,9,3) sort(data) # 2 3 5 6 8 9 sort(data, decreasing = TRUE) # 9 8 6 5 3 2 · 2.order · 3.rank · 4.arrange(dplyr).
確定! 回上一頁