Description Usage Arguments Value Examples
Transpose a data frame
1 | transpose(df_given)
|
df_given |
input data frame with out_name |
transposed data frame
1 2 3 4 5 6 7 8 | df_given <-
tribble(
~out_name, ~X1, ~X2, ~X3,
"W1", 1, 1, 0,
"W2", -1, 0, 1
)
transpose(df_given)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.