View source: R/mk_mtx_from_vecs.R
| mk_mtx_from_vecs | R Documentation | 
Binds the supplied vectors into columns of a matrix consisting with vector names as column names (if the vectors are named).
mk_mtx_from_vecs(...)
... | 
 One or more named vectors which should be combined into the columns of a matrix. If the vectors are named, these names will become the column names. Note that the vectors should all be of the same length and type.  | 
A matrix constructed from the named vectors.
mk_mtx_from_vecs(col_1 = c("a", "b"), col_2 = c("alpha", "bravo"))
mk_mtx_from_vecs(A = c(1, 10, 100))
mk_mtx_from_vecs(seq(10, 30, 10), seq(70, 90, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.