Keep columns / variables having all values are NA from a tbl. tbl_keep_vars_NA_all() takes care of both numeric and non numeric columns.

tbl_keep_vars_NA_all(tbl)

Arguments

tbl

a tbl.

Value

a tbl.

See also

Examples

if (FALSE) { tbl <- tibble::tibble(x = letters[1:5] , y = NA , z = c(1,2,3,NA,5) ) tbl %>% tbl_keep_vars_NA_all() }