sortmat: Sort a matrix

Description Usage Arguments Value See Also Examples

Description

The function returns a sorted matrix

Usage

1
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

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

bomeara/phybase documentation built on May 12, 2019, 11:35 p.m.