withoutna: Convenience inflix operator to remove all(NA) or all(NULL)...

withoutAllNAR Documentation

Convenience inflix operator to remove all(NA) or all(NULL) columns and rows from a data.table by reference.

Description

Remove columns from a data table if all values are NA or NULL; useful when subsetting.

Usage

withoutAllNA(dt)

Arguments

dt

A data.table.

Value

A data.table subset of dt with columns of all NA or NULL removed.


andrewrech/dt.inflix documentation built on Sept. 18, 2023, 12:56 p.m.