Since "is.na(NA)" returns true and "NA > 0" returns NA, "is.na(NA) & (NA > 0)" should return NA which is true.
is.na(NA) & NA >0
[1] NA
In the same way, "!is.na(NA)" returns false and "NA > 0" returns NA, "!is.na(NA) & (NA > 0)" should return NA as well. But R returns false. Why is this?
!is.na(NA) & NA >0
[1] FALSE