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.


hutils documentation built on April 13, 2022, 5:23 p.m.