View source: R/list_to_onerow.R
list_to_onerow | R Documentation |
list_to_onerow
converts lists with multiple levels to a data frame of
a single row.
list_to_onerow(x)
x |
A list. |
A tibble.
mylist <- list("A" = 1, "B" = c(1,2,4), "C" = letters[1:5], "D" = list(10:20, fruit = c("orange", "apple", "banana"))) mylist list_to_onerow(mylist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.