drop_empty_cols {hutils}R 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.


[Package hutils version 1.8.1 Index]