drop_na_all {tidyplus} | R Documentation |
Drop rows containing all missing values
Description
This is a convenient way to drop uninformative rows from a data frame.
Usage
drop_na_all(data, ...)
Arguments
data |
A data frame. |
... |
< |
Value
The original data frame with rows for which all values are missing dropped.
See Also
tidyr::drop_na
and drop_uninformative_columns
Examples
data <- tibble::tibble(
a = c(NA, NA, NA), b = c(1, 1, NA), c = c(2, NA, NA))
drop_na_all(data)
drop_na_all(data, a, c)
[Package tidyplus version 0.0.2 Index]