powered by
Check matrix or data.frame for containing columns with specified name and optionally remove other columns (by their names)
.chColNa(x, colNa = "index", rmCol = NULL, callFrom = NULL)
This function returns a matrix or data.frame with adjusted columns
(matrix or data.frame)
(character)
(character) allow easier tracking of message(s) produced
scoreFragments
ma1 <- matrix(1:6, nrow=2, dimnames=list(NULL, c("index","aa","bb"))) .chColNa(ma1) .chColNa(ma1, colNa="zz", rmCol="aa")
Run the code above in your browser using DataLab