向量的排序用sort而非order
2018-04-04 本文已影响2人
董八七
当对一个字符型向量排序时,用order给出的结果是不正确的,这时应该用sort。
from https://stackoverflow.com/questions/14492893/ordering-a-vector-of-characters-in-r
当对一个字符型向量排序时,用order给出的结果是不正确的,这时应该用sort。
from https://stackoverflow.com/questions/14492893/ordering-a-vector-of-characters-in-r