longDF2namedList: Convert long data frame to named list

View source: R/utility_functions.R

longDF2namedListR Documentation

Convert long data frame to named list

Description

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

Usage

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(s)

Nicholas Mikolajewicz


NMikolajewicz/scMiko documentation built on June 28, 2023, 1:41 p.m.