powered by
This function tests for completely NA columns
all_na(x)
Returns boolean TRUE if column is all NA, FALSE if not
any column in a dataframe
test <- all_na(c(NA, "a", NA))
Run the code above in your browser using DataLab