R/utils.R
reNameCols.Rd
Turn a matrix to a data.frame withe newly defined colnames.
reNameCols(mat, key = "comp")
Matrix.
String.
Data frame.
mat <- matrix(1:6, 2, 3) reNameCols(mat) reNameCols(mat, key = "PC")