tbl_keep_vars_NA_any: Keep columns / variables having atlease one NA

Description Usage Arguments Value See Also Examples

Description

Keep columns / variables having atlease one NA from a tbl. tbl_keep_vars_NA_any() takes care of both numeric and non numeric columns.

Usage

1

Arguments

tbl

a tbl.

Value

a tbl.

See Also

tbl_remove_vars_NA_any

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

## End(Not run)

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