R/tbl_get_vars.R
tbl_get_vars_NA_all.Rd
Get column / variable names having all valus are NA from a tbl. tbl_get_vars_NA_all()
takes care of both numeric and non numeric columns.
tbl_get_vars_NA_all(tbl)
tbl | a tbl. |
---|
a cheracter vector contaning variable names.
if (FALSE) { tbl <- tibble(x = letters[1:5] , y = NA , z = c(1,2,3,NA,5) ) tbl %>% tbl_get_vars_NA_all() }