View source: R/utility_functions.R
longDF2namedList | R Documentation |
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)
df.long |
long data frame |
group_by |
name of data frame column to group values by |
values |
name of data frame column containing values |
named list
Nicholas Mikolajewicz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.