Find the two closest ranks among ranks with the same state. Get the NO. of the two closest ranks.
与同一国家的行列中,发现两个最接近的行列。获取的NO。两个最接近的行列。
用法----------Usage----------
findclosestrank(SMDM)
参数----------Arguments----------
参数:SMDM
a distance matrix or a data.frame represents the distances between any two ranked lists, which must be preprocessed before used (let the lower triangular part of the matrix is Inf).
距离矩阵或数据框表示任何两个排名名单,必须进行预处理,使用前(让较低的矩阵的三角部分是INF)之间的距离。
Details
详情----------Details----------
Get the distance matrix by using FootruleMatrix function. This function is used to find the two closest ranked lists to aggregate them into a new list.
使用FootruleMatrix的函数得到距离矩阵。此功能用于找到最接近的两个排名名单汇总到一个新的列表。