remove_column: Delete columns with all NA or all identical data.

View source: R/remove_column.R

remove_columnR Documentation

Delete columns with all NA or all identical data.

Description

Delete columns where all data elements are NA or the same.

Usage

remove_column(dt, na = TRUE, identical = TRUE)

Arguments

dt

data.table, to manipulate.

na

boolean, to delete columns where all data elements are NA.

identical

boolean, to delete columns where all data elements are the same.

Value

data table, with data.


parseRPDR documentation built on March 31, 2023, 11:36 p.m.