Learn R Programming

bedr (version 1.0.2)

df2list: Data frame to list conversion

Description

Take data frame and return a list of rownames where column value is not 0 i.e. missing

Usage

df2list(x, start.col = 1)

Arguments

x
data frame
start.col
offset from first column to ignore certain columns

Value

returns a list following cleanup and change of data structure

Examples

Run this code
#df2list(data.frame(a = 1:10, b = 11:20));

Run the code above in your browser using DataLab