data.frame.to.list: Data frame conversion to a list of columns.

View source: R/data.frame.to.list.R

data.frame.to.listR Documentation

Data frame conversion to a list of columns.

Description

Converts each column of a data.frame in a element of a list with the corresponding name of the original column. Useful for further use in functions such as purrr::pmap().

Usage

data.frame.to.list(x)

Arguments

x

A data.frame to be converted

Value

A list of vectors in which each element is a column of input the data.frame.

Examples

data.frame.to.list(mtcars)


sebastian-gregoricchio/Rseb documentation built on May 15, 2024, 5:45 a.m.