morphomapSort {morphomap}R Documentation

morphomapSort

Description

Sort a series of points stored as a 2D matrix

Usage

morphomapSort(mat)

Arguments

mat

numeric matrix: a kx2 matrix

Value

mat sorted kx2 matrix

Author(s)

Antonio Profico, Luca Bondioli, Pasquale Raia, Paul O'Higgins, Damiano Marchi

Examples

rand<-sample(100)
extsec<-morphomapCircle(10,100)[rand,]
plot(extsec,type="l",asp=1)
sorted<-morphomapSort(extsec)
plot(sorted,type="l",asp=1)

[Package morphomap version 1.5 Index]