From kindlychung at gmail.com  Sat Oct 15 11:48:31 2016
From: kindlychung at gmail.com (Kaiyin Zhong)
Date: Sat, 15 Oct 2016 11:48:31 +0200
Subject: [Rd] Inconsistent behavior of summary
Message-ID: <CAOHtMfWg2ayM0XFma3kxuiJ_Uz1WjW4XfSQ_y=P4jtqo0WcbBQ@mail.gmail.com>

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

	[[alternative HTML version deleted]]



[Rd] Inconsistent behavior of summary
Kaiyin Zhong