allNA.col: Checks if any column contains exclusively NAs and returns...

View source: R/dt_chk.R

allNA.colR Documentation

Checks if any column contains exclusively NAs and returns colnames if any.

Description

Checks if any column contains exclusively NAs and returns colnames if any.

Usage

allNA.col(data)

Arguments

data

An array, a dataframe or a matrix.

Value

A list with 'fullNA.col' containing the column names that contain exclusively NAs, and 'is.fullNA' a logical TRUE if the array has at least 1 column contaning exclusively NAs, FALSE if it has none.

Author(s)

Yoann Pageaud.


YoannPa/DTrsiv documentation built on Nov. 28, 2022, 5:44 p.m.