NA
valuesFast remove rows with NA
values
remove_rows_if_any_na(data, ..., .cols = NULL)remove_rows_if_all_na(data, ..., .cols = NULL)
A data frame with removed rows containing either any or all NA
values.
A data frame.
Cols to fill NA
values specified through tidyselect
notation.
If left empty all cols are used by default.
(Optional) alternative to ...
that accepts
a named character vector or numeric vector.
If speed is an expensive resource, it is recommended to use this.