transpose_list | R Documentation |
Transposes a list of list, and turns it inside out, similar to the
function transpose()
in package purrr.
transpose_list(.l)
.l |
( |
list()
.
x = list(list(a = 2, b = 3), list(a = 5, b = 10))
str(x)
str(transpose_list(x))
# list of data frame rows:
transpose_list(iris[1:2, ])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.