Description Usage Arguments Value Examples
Remove columns / variables having atleast one 0 from a tbl.
1 |
tbl |
a tbl. |
a tbl.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
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()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.