dot-vector2Matr: Convert numeric vector to matrix

.vector2MatrR Documentation

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

Value

matrix

See Also

matrix

Examples

.vector2Matr(c(3:6))

wrMisc documentation built on Sept. 11, 2024, 6:10 p.m.