matrix_to_tibble | R Documentation |
matrix or data.frame to tibble (taken from tidyquant)
matrix_to_tibble(x, preserve_row_names = "row.names", ...)
x |
a matrix |
preserve_row_names |
give name to rownames column, if NULL discard rownames |
... |
further parameters passed to as_tibble |
Other utilities:
INTERNAL_FUNCTIONS_BY_FAMILY
,
get_UniprotID_from_fasta_header()
,
multigroup_volcano()
,
names_to_matrix()
,
pairs_smooth()
,
pairs_w_abline()
,
panel_cor()
,
panel_hist()
,
remove_NA_rows()
,
table_facade()
x <- matrix(rnorm(20), ncol=4)
rownames(x) <- LETTERS[seq_len(nrow(x))]
matrix_to_tibble(x)
!(is.matrix(x) || is.data.frame(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.