This function returns a logical value indicating whether the input vector contains
missing values (NA
).
Examples
if(interactive()){
has_missing_values(c(1, 2, 3)) # returns FALSE
has_missing_values(c(1, NA, 2)) # returns TRUE
}
This function returns a logical value indicating whether the input vector contains
missing values (NA
).
if(interactive()){
has_missing_values(c(1, 2, 3)) # returns FALSE
has_missing_values(c(1, NA, 2)) # returns TRUE
}