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/datatable.inflix.operators documentation built on Sept. 17, 2023, 12:20 p.m.