flatten_mx_to_row | R Documentation |
A single row matrix, unlike a vector, has the advantage that it can have a row name.
eg: A1, A2, B1, B2
flatten_mx_to_row(mx, row.names.first = FALSE)
mx |
matrix |
row.names.first |
if TRUE, row.names will appear first in the names of the resultant columns, eg: becomes A1,B1,A2,B2 else row.names will appear last, eg: 1A, 1B, 2A, 2B |
a single row matrix (1,c)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.