powered by
This is shorthand for all(is.na(x)) and all(!is.na(x))
all(is.na(x))
all(!is.na(x))
all_na(x)all_miss(x)all_complete(x)
all_miss(x)
all_complete(x)
an R object to be tested.
misses <- c(NA, NA, NA) complete <- c(1, 2, 3) mixture <- c(NA, 1, NA) all_na(misses) all_na(complete) all_na(mixture) all_complete(misses) all_complete(complete) all_complete(mixture)
Run the code above in your browser using DataLab