Learn R Programming

emuR (version 2.5.0)

sortmatrix: Sort matrix by label

Description

Sorts matrix by label

Usage

sortmatrix(mat, labs = dimnames(mat)[[2]])

Value

Returns a sorted matrix by label, created from mat.

Arguments

mat

A mu+ segment matrix.

labs

A label vector which has the same number of columns as mat.

See Also

label, phon