I'm very new to RStudio so I apologize for this simple question but I don't understanding why when I type
c(0:5)[NA]
NA NA NA NA NA
Is it because its trying to retrieve NA's in the sequence and there are none so it gives me NAs? or is it that I've told the system to make a sequence with 5 NA?