Learn R Programming

emuR (version 1.0.0)

sortmatrix: Sort matrix by label

Description

Sorts matrix by label

Usage

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

Arguments

mat

A mu+ sement matrix.

labs

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

Value

Returns a sorted matrix by label, created from mat.

See Also

label, phon