I have a question about arithmetic behavior in R. Note the following code snippet
> NaN + NA [1] NaN > > > NaN + as.integer(NA) > NA
So, I am confused that these two additions give different results. Does anyone know if this behavior is really or just some kind of mistake?
Thank you in advance
source share