powered by
This function returns a logical value indicating whether the input vector contains no missing values (NA).
NA
has_no_missing_values(x)
A logical value indicating whether the input vector contains no missing values.
A vector.
if(interactive()){ has_no_missing_values(c(1, 2, 3)) # returns TRUE has_no_missing_values(c(1, NA, 2)) # returns FALSE }
Run the code above in your browser using DataLab