df.to.list: data frame to by-row-list

Description Usage Arguments Value

Description

convert a data.frame (or similar) into a list of rows, prior each row is converted list
For default value of level (1) From an input data.frame each element of the list is a one-row data.frame.
If level=2, the data.frame row itself is split into a list of elements, one of each column.

Usage

1
df.to.list(d, level = 1)

Arguments

d:

data.frame or matrix-like data structure

Value

a list of row-lists


diluises/neutRino documentation built on May 15, 2019, 8:33 a.m.