t.list | R Documentation |
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.
## 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
transpose
and transpose