drop_na()
drops rows where any column specified by ...
contains a
missing value.
Arguments
- data
A data frame.
- ...
<
tidy-select
> Columns to inspect for missing values. If empty, all columns are used.
Details
Another way to interpret drop_na()
is that it only keeps the "complete"
rows (where no rows contain missing values). Internally, this completeness is
computed through vctrs::vec_detect_complete()
.