drop_na: Drops rows containing NAs

Description Usage Arguments Value

View source: R/drop_na.R

Description

Identical to data[complete.cases(data)] or dplyr::filter(complete.cases(.)).

Usage

1
drop_na(.data, ...)

Arguments

.data

a data.frame, data.table, matrix, or list

...

Specification of columns to fill, leaving blank will select all columns. Use bare variable names. Select all variables between x and z with x:z, exclude y with -y. For more options, see the dplyr::select documentation. For lists, elements are treated as columns.

.dots

Use drop_na_() to do standard evaluation. See dplyr's NSE vignette for more information with vignette("nse", "dplyr").

Value

an object of the same class as .data with the NA rows dropped


jakesherman/missr documentation built on May 18, 2019, 9:08 a.m.