View source: R/morphomapSort.R
morphomapSort | R Documentation |
Sort a series of points stored as a 2D matrix
morphomapSort(mat)
mat |
numeric matrix: a kx2 matrix |
mat sorted kx2 matrix
Antonio Profico, Luca Bondioli, Pasquale Raia, Paul O'Higgins, Damiano Marchi
rand<-sample(100)
extsec<-morphomapCircle(10,100)[rand,]
plot(extsec,type="l",asp=1)
sorted<-morphomapSort(extsec)
plot(sorted,type="l",asp=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.