tbl_keep_vars_NA_all: Keep columns / variables having all values are NA

Description Usage Arguments Value See Also Examples

View source: R/tbl_keep_vars.R

Description

Keep columns / variables having all values are NA from a tbl. tbl_keep_vars_NA_all() takes care of both numeric and non numeric columns.

Usage

1

Arguments

tbl

a tbl.

Value

a tbl.

See Also

tbl_remove_vars_NA_all

Examples

1
2
3
4
5
## Not run: 
 tbl <- tibble::tibble(x = letters[1:5] , y = NA , z = c(1,2,3,NA,5) )
 tbl %>% tbl_keep_vars_NA_all()

## End(Not run)

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