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