deselect_if_all_same: Deselect columns that are all NA

Description Usage See Also Examples

View source: R/select_.R

Description

Deselect columns that are all NA

Usage

1

See Also

select_all

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(tidyverse)

test_data <-
        tibble(A = rep(NA_character_, 5),
               B = LETTERS[1:5],
               C = 1:5,
               D = rep("Z", 5))

test_data
deselect_if_all_na(test_data)
deselect_if_all_same(test_data)

meerapatelmd/rubix documentation built on Sept. 5, 2021, 8:30 p.m.