Count columns / variables having all values are 0 from a tbl.

tbl_count_vars_zero_all(tbl)

Arguments

tbl

a tbl.

Value

an integer.

Examples

if (FALSE) { tbl <- tibble(x = letters[1:5] , y = LETTERS[1:5] , z = 0 ) tbl %>% tbl_count_vars_zero_all() }