#数列的重新排序#使用向量的序号进行重新排序x<-c("A","B",'C',"D","E")x[c(2,4,5,1,3)]#什么是order指令scores=c(100,59,73,95,45);scoressort...(scores)scores[c(5,2,3,4,1)]scores[order(scores)]###如何使用两组对应的数据进行排序x1<-c(100,59,73,95,45)x2<-c("jimmy...nicker","damon","sophie","tony")##方法1(order函数)#先使用order指令获得x1中数值从小到大的向量序号order(x1)#再使用该序号对与x1一一对应的x2重新排序