当对一个字符型向量排序时,用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
本文标题:向量的排序用sort而非order
本文链接:https://www.haomeiwen.com/subject/bvxlhftx.html
网友评论