Description Usage Arguments Examples
Transpose a list
1 | listTranspose(lst)
|
lst |
|
1 2 3 4 5 | set.seed(1)
X <- strucMatrix(c(1, 2, 1, 2), c(1, 1, 2, 2), 1:4, rnorm(4))
Y <- strucMatrix(c(1, 2, 1), c(1, 1, 2), 1:3, rnorm(3))
Z <- strucMatrix(c(1, 2), c(1, 2), 1:2, rnorm(2))
listTranspose(list(X = X, Y = Y, Z = Z))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.