Can someone please answer in layman terms how indexing (subsetting) with NA works. Even though there are some answers from google, I would like to understand it better in simple terms.
When indexing a vector (of length > 1) using a single NA, why does it yield five missing values?
> x <- 1:5
> x[NA]
[1] NA NA NA NA NA