R/tbl_keep_rows.R
tbl_keep_rows_zero_any.Rd
Subset rows having atleast one 0 from a tbl.
tbl_keep_rows_zero_any(tbl)
a tbl.
if (FALSE) { tbl <- tibble(x = c(0,1,2,0,3,5) , y = c(0,1,2,0,3,5) , z = c(0,1,2,0,3,5) ) tbl tbl %>% tbl_keep_rows_zero_any() tbl2 <- tibble(x = letters[1:5] , y = NA , z = c(0,2,3,NA,5) , xx= 0:4) tbl2 %>% tbl_keep_rows_zero_any() }