copydt: copy data frame/table columns to a new data table with forced...

View source: R/package.R

copydtR Documentation

copy data frame/table columns to a new data table with forced column structure

Description

Ensure that all columns in out data table possess the specified columns in which default values for missing columns will be NA valuess

Usage

copydt(dt, columns, as.data.table = TRUE)

kevinmhadi/khtools documentation built on Feb. 14, 2025, 10:25 a.m.