.vector2Matr: Convert numeric vector to matrix
Description
Take (numeric) vector and return matrix, if 'colNa' given will be used as colname
Usage
.vector2Matr(x, colNa = NULL, rowsKeep = TRUE)
Arguments
- x
(numeric or character) main input
- colNa
(integer) design the comumn-name to be given
- rowsKeep
(logical) is TRUE
make matrix of 1 column, otherwise of 1 row