writeDataTableSplitByColumn: Given a data table and a factor variable to split on,...

Description Usage Arguments Value

View source: R/postEnrichment.R

Description

Given a data table and a factor variable to split on, efficiently divides the table and then writes the different splits to separate files, named with filePrepend and numbered according to split.

Usage

1
2
writeDataTableSplitByColumn(DT, splitFactor, filePrepend = "",
  orderColumn = NULL)

Arguments

DT

data.table to split

splitFactor

column of DT to split on

filePrepend

notation string to prepend to output files

orderColumn

column of DT to order on (defaults to the first column)

Value

number of splits written


sheffien/LOLA documentation built on May 7, 2018, 12:58 a.m.