Part10 Missing values

NA (Not Available) is a recognized element in R.

  • Finding missing values in a vector
  • Some functions can deal with NAs, either by default, or with specific arguments:
  • In a matrix or a data frame, keep only rows where there are no NA values:


Check this R blogger post on missing/null values