Inconsistent behavior of summary
Here is the code:
summary(c(1:5, NA))
summary(c("a", NA))
It seems in the firs case the number of NAs is reported, but not in the
second.
Tested with R 3.3.1 on a mac.
Best regards,
Kaiyin ZHONG
Here is the code:
summary(c(1:5, NA))
summary(c("a", NA))
It seems in the firs case the number of NAs is reported, but not in the
second.
Tested with R 3.3.1 on a mac.
Best regards,
Kaiyin ZHONG