It is useful to search for any instances of missing or complete values. There
Are two functions that do this in naniar - any_miss and it's alias
any_na. These bother under the hood call anyNA. any_complete is
the complement to any_miss - it returns TRUE if there are any complete values.
any_na(x) any_miss(x) any_complete(x)
| x | an R object to be tested |
|---|
anyNA(airquality)#> [1] TRUEany_na(airquality)#> [1] TRUEany_miss(airquality)#> [1] TRUEany_complete(airquality)#> [1] TRUE