Tag: Count non-missing values in R

  • Count excluding NA in R

    Count excluding NA in R

    If you want to count values excluding NA in R, here is a simple way to do that. You can detect non-NA values and get results as TRUE or FALSE that can be used by the sum function to get the result.