Learn R Programming

functClust (version 0.1.6)

sort_matrix: sort a matrix

Description

Take a matrix, then sorted the colums by increasing values of 1st, 2nd, 3rd,.. n lines of matrix.

Usage

sort_matrix(mat)

Arguments

mat

a numeric matrix

Value

A vector of indices for properly sort the columns of matrix

Details

None.