column_names_to_row | R Documentation |
Take a data.frame/matrix and insert its column names as the first row of the resulting matrix.
column_names_to_row(df)
df |
The data.frame/matrix. |
A matrix of the initial data.frame/matrix with its column names as the first row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.