rbindDT {R2DT}R Documentation

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

Description

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

Usage

rbindDT(topDT, bottomDT)

Arguments

topDT

data.table object 1. Its values will be placed at the top of the returned data.table object. This is an obligatory argument, without default value.

bottomDT

data.table object 2. Its values will be placed at the bottom of the returned data.table object. This is an obligatory argument, without default value.

Value

The glued data.table object. Matching column names of 'topDT' and 'bottomDT' will be identified and its values will be placed in one column in the returned data.table object, the values of the 'topDT' argument on top of the values of the 'bottomDT' argument. Non-matching columns will be have missing values for the rows in the returned data.table object that correspond to the input data.table object in which the column name was not found.


[Package R2DT version 0.2 Index]