sortmat {phybase}R Documentation

Sort a matrix

Description

The function returns a sorted matrix

Usage

sortmat(mat, columns)

Arguments

mat a matrix
columns the columns upon which the matrix is sorted

Value

The function returns a sorted matrix.

See Also

del.node

Examples

mat<-matrix(1:9,ncol=3)
sortmat(mat,1)

[Package phybase version 1.1 Index]