tbl_remove_rows_NA_all: Remove rows having all NA

Description Usage Arguments Value Examples

Description

Remove rows having all NA across all columns / variables from a tbl.

Usage

1

Arguments

tbl

a tbl.

Value

a tbl.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

 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_remove_rows_NA_all()

 tbl2 <- tibble(x = letters[1:5] , y = LETTERS[1:5] , z = 0  , xx = 0:4 , yy = 0)
 tbl2 %>% tbl_remove_rows_NA_all()

## End(Not run)

cparsania/TidyWrappers documentation built on Feb. 6, 2022, 3:25 p.m.