R/tbl_remove_vars.R
tbl_remove_vars_zero_any.Rd
Remove columns / variables having atleast one 0 from a tbl.
tbl_remove_vars_zero_any(tbl)
tbl | a tbl. |
---|
a tbl.
if (FALSE) { tbl <- tibble(x = letters[1:5] , y = LETTERS[1:5] , z = 0 ) tbl tbl %>% tbl_remove_vars_zero_any() tbl <- tibble(x = letters[1:5] , y = NA , z = c(0,2,3,NA,5) , xx= 0:4) tbl %>% tbl_remove_vars_zero_any() }