Description Usage Arguments Value Examples
A helper function to remove any rows where NA
values appear in the specified column(s).
1 |
.data |
A |
... |
|
.verbose |
|
An object of the same type as .data
. The output has the following properties:
Rows are a subset of the input, but appear in the same order.
Columns are not modified.
The number of groups will be the same.
Attributes are preserved.
1 2 3 4 5 6 7 8 9 | # You can remove NAs from a single column
remove_na(airquality, Ozone)
# Or from multiple columns
remove_na(airquality, Ozone, Solar.R)
# By default, the function will remove any rows where NA values
# appear in any column
remove_na(airquality)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.