morphomapSort: morphomapSort

View source: R/morphomapSort.R

morphomapSortR 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)

morphomap documentation built on Oct. 10, 2023, 1:08 a.m.