Description
Sets row/column names to matrix or data.frame
Usage
smart_names(MAT, ROW = NULL, COL = NULL)
Value
Outputs a matrix or data.frame depending on
input object class
Arguments
- MAT
A matrix
- ROW
A vector of length equal to nrow(MAT)
- COL
A vector of length equal to ncol(MAT)