Missing values (3)
In most cases an NA
value (vector element) is regarded ‘missing so we can’t (always) know the outcome’:
NA
in comparisons will always returnNA
(see before).NA
in boolean algebra: sometimes the outcome is known, sometimes not (henceNA
):TRUE & NA
isNA
butFALSE & NA
isFALSE
TRUE | NA
isTRUE
butFALSE | NA
isNA