[ top | up ]

Column Labels

Syntax

colnames(x)
colnames(x) <- namevector

Value

This function can be used to retrieve or set the column labels of a matrix.

See Also

dimnames, rownames.