colnames {base} | R Documentation |
Column Labels
Usage
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
.
colnames {base} | R Documentation |
colnames(x)
colnames(x) <- namevector
This function can be used to retrieve or set the column labels of a matrix.
dimnames
, rownames
.