STS_sorting {uSORT}R Documentation

A sorting function using the Side-to-Side (STS) algorithm

Description

A sorting function using the Side-to-Side (STS) algorithm

Usage

STS_sorting(d, max_iter = 10)

Arguments

d

A matrix containing n-by-n cell distance.

max_iter

An integer number indicating the maximum number of iteration if sorting does not converge.

Value

A list containing ordering(a vector of re-ordered sequence) and cost(a numeric value).


[Package uSORT version 1.16.0 Index]