R/tbl_get_vars.R
tbl_get_vars_zero_any.Rd
Get column / variable names having atleast one 0 from a tbl.
tbl_get_vars_zero_any(tbl)
a tbl.
a cheracter vector contaning variable names.
if (FALSE) { tbl <- tibble::tibble(x = letters[1:5] , y = LETTERS[1:5] , z = 0 ) tbl tbl %>% tbl_get_vars_zero_any() tbl2 <- tibble(x = letters[1:5] , y = NA , z = c(0,2,3,NA,5) , xx= 0:4) tbl2 %>% tbl_get_vars_zero_any() }