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)

Arguments

my.list

named list

Value

wide data.frame

See also

Author

Nicholas Mikolajewicz

Examples


# 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)