View source: R/data.frame.to.list.R
data.frame.to.list | R Documentation |
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().
data.frame.to.list(x)
x |
A data.frame to be converted |
A list of vectors in which each element is a column of input the data.frame.
data.frame.to.list(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.