Description Usage Arguments Value Examples
t_ is an expansion of the t() function, in which, if x is a data.frame(), it is transposed, and the first column of the output data.frame is the column names from the input data.frame.
1 | t_(x)
|
x |
matrix, vector, or data.frame or other class usable by t(). |
a transposed object
1 2 3 4 5 6 7 8 9 | #example_df <- data.frame(x1 = rnorm(100),
# x2 = rnorm(100),
# x3 = rnorm(100),
# x4 = rnorm(100),
# x5 = rnorm(100))
#t(rnorm(100))
#t_(rnorm(100))
#t(example_df)
#t_(example_df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.