Learn R Programming

parseRPDR (version 1.1.2)

remove_column: 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)

Value

data table, with data.

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.