R2DT0.2 package

Translation of Base R-Like Functions for 'data.table' Objects

asCharacterDT

Forcing the character/string data type on a selected set of columns of...

asFactorDT

Forcing the character/string data type on a selected set of columns of...

asIntegerDT

Forcing the integer data type on a selected set of columns of a data.t...

asLogicalDT

Forcing the logical/boolean data type on a selected set of columns of ...

asNumericDT

Forcing the numeric data type on a selected set of columns of a data.t...

checkDT

Checking if an object is a data.table object and (optional) testing if...

detectWeirdLevelNamesDT

Detecting which levels of which factor of a data.table object contain ...

extractLevelDT

Extracting the levels of all or a selected set of the factor columns o...

extractRefLevelDT

Extracting the reference level of all or a selected set of the factor ...

isCharacterDT

Testing if a set of columns of a data.table object corresponds to the ...

isFactorDT

Testing if a set of columns of a data.table object corresponds to the ...

isIntegerDT

Testing if a set of columns of a data.table object corresponds to the ...

isLogicalDT

Testing if a set of columns of a data.table object corresponds to the ...

isNumericDT

Testing if a set of columns of a data.table object corresponds to the ...

lowFreqLevel2MissingDT

Transform levels of all the factor columns of a data.table object to m...

rbindDT

Glueing, not merging, two data.table objects together, by matching col...

removeEmptyLevelsDT

Remove empty levels from all the factor columns of a data.table object

setRefLevelDT

Setting the reference level of all or a selected set of the factor col...

sortByRowIndexDT

Order the rows of a data.table object by index

Some heavily used base R functions are reconstructed to also be compliant to data.table objects. Also, some general helper functions that could be of interest for working with data.table objects are included.

  • Maintainer: Robin Van Oirbeek
  • License: GPL-3
  • Last published: 2020-03-19