check_missing: Check missing rate in variables.

Description Usage Arguments Functions Author(s)

Description

Check missing (NA) proportion or counts of variables. This function works like summarize_at where the missing rate or count for the selected columns are returned.

Usage

1
2
3
check_missing(data, ..., ret_prop = TRUE)

check_missing_(data, ..., .dots, ret_prop = TRUE)

Arguments

data

A data.frame or tbl.

...

One or more unquoted expressions separated by commas. You can treat variable names like they are positions, so you can use expressions like x:y to select ranges of variables.

Positive values select variables; negative values drop variables. If the first expression is negative, select() will automatically start with all variables.

Use named arguments, e.g. new_name = old_name, to rename selected variables.

The arguments in ... are automatically quoted and evaluated in a context where column names represent column positions. They also support unquoting and splicing. See vignette("programming") for an introduction to these concepts.

See select helpers for more details and examples about tidyselect helpers such as starts_with(), everything(), ...

ret_prop

Whether to return the rate of missing (default) or counts.

.dots

Used in conjunction with ... to support both explicit and implicit arguments.

Functions

Author(s)

Min Ma


wangyuchen/extdplyr documentation built on May 4, 2019, 12:58 a.m.