na_cols: Selecting NA columns

na_colsR Documentation

Selecting NA columns

Description

Select or remove columns that are entirely NA

Usage

select_na_cols(x)

remove_na_cols(x)

is_na_cols(x, names = TRUE)

Arguments

x

A data.frame

names

Logical, if TRUE (default) will return column names as names of vector

Value

  • select_na_cols() x with only columns that are all NA

  • remove_na_cols() x without columns of only NA

  • is_na_cols() a logical vector: TRUE all rows of column are NA, otherwise FALSE


jmbarbone/mark documentation built on Feb. 8, 2025, 6:26 p.m.