filter_na | R Documentation |
filter_na()
just wrap {dplyr}
functions in a more
convenient way, IMO.
filter_na(data, type = c("any", "all"))
data |
a data frame or tibble |
type |
a character vector indicating which type of NA-filtering must be done. If type = "any",
|
a tibble object
## Not run:
nice_data <- data.frame(c1 = c(1, NA), c2 = c(NA, NA))
nice_data %>%
filter_na("all")
nice_data %>%
filter_na("any")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.