The trick to understanding NAs (missing values) in R

What is NA^0 in R? But the interesting question that arises is: why is it 1? Most people might expect that the answer would be NA, like most expressions that include NA.

Advertisements