colSort: Matrix Sort

View source: R/colSort.R

colSortR Documentation

Matrix Sort

Description

Sorts a matrix by first column, breaking ties with second column, breaking those ties with 3rd, etc.

Usage

colSort(X)

Arguments

X

matrix to sort.

Value

Same matrix with rows permuted according to sort order.


MADPop documentation built on Oct. 13, 2023, 5:09 p.m.