View source: R/utility_functions.R
namedList2wideDF | R Documentation |
Convert named list to wide data.frame. Resulting dataframe will have the same number of columns as there are names in the list.
namedList2wideDF(my.list)
my.list |
named list |
wide data.frame
Nicholas Mikolajewicz
namedList2longDF
# specify named list
my.list <- list(group.1 = c("a", "b", "c"), group.2 = c("d", "e", "f"))
# convert named list to wide data.frame
my.df <- namedList2wideDF(my.list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.