rowNames

Syntax

rowNames(X)

Arguments

X is a matrix.

Details

Return the row names of matrix X. Please check related function: columnNames.

Examples

x=1..6$2:3;
x
#0 #1 #2
1 3 5
2 4 6
x.rename!(1 2, `a`b`c);
a b c
1 1 3 5
2 2 4 6
rowNames x;
// output
[1,2]