[1] 一二四三一二三四一Levels: 一二三四> factor(x, ordered = TRUE) # ordered 代表可做排序 [1] 1 2 4 3 1 2 3 4 1 Levels: 1 < 2 < 3 < 4 > factor(c(1, 2, 1, NA, ...
確定! 回上一頁