t_dt | R Documentation |
An efficient way to transpose data frames(data.frame/data.table/tibble).
t_dt(.data)
.data |
A data.frame/data.table/tibble |
This function would return the original data.frame structure, keeping all the row names and column names. If the row names are not available or, "V1,V2..." will be provided.
A transposed data.frame
t_dt(iris)
t_dt(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.