Learn R Programming

sismonr (version 2.1.0)

df2list: Tranforms a data-frame into a list.

Description

Transforms a data-frame into a list. The elements of the list correspond to the columns of the data-frame.

Usage

df2list(mydf)

Arguments

mydf

A data-frame.

Value

A named list with elements corresponding to the columns of the input data-frame.