Learn R Programming

NMdata (version 0.2.3)

dtFillCols: Create a data table with input columns of unequal length

Description

All columns are filled with NA to max length of all input variables. This is useful when constructing partially completed variables where 1) variables are complete up to their length and 2) the missing values should be set to NA.

Usage

dtFillCols(...)

Arguments

...

Vectors to put into data.table