View source: R/convert_tibbles.R
Convert subsections of tibbles into matrices, with the option of adding row names from another column or a character vector
1 | tibble_to_matrix(tbl, ..., row_names = NULL)
|
tbl |
Tibble to covert. |
... |
Tidy selection of columns to include in matrix. |
row_names |
String of column name to pull row names from or a character vector of row names. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.