Learn R Programming

bedr (version 1.1.3)

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)

Value

returns a list following cleanup and change of data structure

Arguments

x

data frame

start.col

offset from first column to ignore certain columns

Author

Daryl Waggott

Examples

Run this code
if (FALSE) {
  df2list(data.frame(a = 1:10, b = 11:20));
  }

Run the code above in your browser using DataLab