[ top | up ]

Column Labels

Syntax

colnames(x)
colnames(x) <- namevector

Description

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