Description Usage Arguments Value Examples
View source: R/comb_matrix_to_df.R
This function helps you to convert your matrix into dataframe if your matrix has colnames and rownames with value in it
1 2 3 4 5 | comb_matrix_to_df(
input.matrix = matrix(),
colnames.first = TRUE,
new.colnames = c("c", "r", "value")
)
|
input.matrix |
Matrix contains names and values |
colnames.first |
Whether in the return dataframe, the colnames of matrix should be the first col |
new.colnames |
The colnames of the return dataframe |
A dataframe contains colnames and rownames of the input matrix, as well as the value
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.