drop_cols: Remove columns with missing values

drop_cols_all_naR Documentation

Remove columns with missing values

Description

Remove columns of a table whose values are all NA or who have any NA

Usage

drop_cols_all_na(.tbl)

drop_cols_any_na(.tbl)

drop_na_cols(.tbl)

Arguments

.tbl

table-like object

Details

drop_cols_all_na removes all cols whose only values are NA. drop_cols_any_na removes columns that have any NA. They work on all table-like objects.

Value

An object of the same class as data with cols containing all NA values removed

See Also

  • dplyr::select()


NicolasAzzopardi/mlxPlot documentation built on March 19, 2023, 7:40 a.m.