df_t | R Documentation |
Transpose a numeric data frame (with/without NAs)
df_t(x)
x |
a data frame |
It is used mostly for numeric data frame with NAs and return a
a transposed data frame.
x <- data.frame(group = c(1,1,2,NA,2), val = c(6,4,6,3.1,NA))
x <- df_t(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.