drop_empty_cols: Drop empty columns

View source: R/drop_empty_cols.R

drop_empty_colsR Documentation

Drop empty columns

Description

Removes columns from a data.table where all the values are missing.

Usage

drop_empty_cols(DT, copy = FALSE)

Arguments

DT

A data.table.

copy

Copies the data.table so the original can be retained. Not applicable if DT is not a data.table. If FALSE, the default, DT itself will be modified.


HughParsonage/hutils documentation built on Feb. 12, 2023, 8:26 a.m.