R/tbl_remove_vars.R
tbl_remove_vars_NA_all.Rd
Remove columns / variables having all values are NA from a tbl. tbl_remove_vars_NA_all()
takes care of both numeric and non numeric columns.
tbl_remove_vars_NA_all(tbl)
tbl | a tbl. |
---|
an integer.
if (FALSE) { tbl <- tibble(x = letters[1:5] , y = NA , z = c(1,2,3,NA,5) ) tbl %>% tbl_remove_vars_NA_all() }