Description Usage Arguments Details Author(s) References See Also
For a nested list x
, returns another nested list y
such that
x[[a]][[b]] == y[[b]][[a]]
for all indices in the original list.
1 2 | ## S3 method for class 'list'
t(x)
|
x |
a list of lists |
Occasionally, sparse matrices are represented this way.
zerweck, Neal Fultz
https://stackoverflow.com/questions/45734380/transpose-nested-list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.