vec_to_mat.Rd
Check if Vector and if so, Convert to Row Matrix
vec_to_mat(x)
vector or matrix
matrix
vec_to_mat(c(1,2,3))#> [,1] [,2] [,3] #> [1,] 1 2 3vec_to_mat(rbind(c(1,2,3), c(1,2,3)))#> [,1] [,2] [,3] #> [1,] 1 2 3 #> [2,] 1 2 3