Description Usage Arguments Value Examples
Check if Vector and if so, Convert to Row Matrix
1 | vec_to_mat(x)
|
x |
vector or matrix |
matrix
1 2 | vec_to_mat(c(1,2,3))
vec_to_mat(rbind(c(1,2,3), c(1,2,3)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.