Convert long data frame to named list. Input long data frame consists of two columns, the first corresponding to the names within the list (group_by), and the second to the corresponding list entries (values).

longDF2namedList(df.long, group_by, values)

Arguments

df.long

long data frame

group_by

name of data frame column to group values by

values

name of data frame column containing values

Value

named list

Author

Nicholas Mikolajewicz