vec_to_mat: Check if Vector and if so, Convert to Row Matrix

Description Usage Arguments Value Examples

View source: R/unsorted.R

Description

Check if Vector and if so, Convert to Row Matrix

Usage

1

Arguments

x

vector or matrix

Value

matrix

Examples

1
2
vec_to_mat(c(1,2,3))
vec_to_mat(rbind(c(1,2,3), c(1,2,3)))

jsilve24/driver documentation built on Jan. 30, 2022, 12:07 p.m.