From kjetil@entelnet.bo  Sat Jan 25 00:46:02 2003
From: kjetil@entelnet.bo (kjetil brinchmann halvorsen)
Date: Sat Jan 25 00:46:02 2003
Subject: [Rd] table() with option "exclude=NULL" (PR#2491)
In-Reply-To: <200301241922.UAA16243@pubhealth.ku.dk>
Message-ID: <3E3197A1.17565.2D4897@localhost>

On 24 Jan 2003 at 20:22, ripley@stats.ox.ac.uk wrote:

> It's a feature, as a few seconds' exploration would have confirmed.
> 
> > x <- table(c(2,NA,1,1,1,NaN),exclude=NULL)
> > names(x)
> [1] "1"   "2"   NA    "NaN"
> 
> so R *does* label them, and as (unlike NaNs) it does not know what they 
> are, it *prints* them as blanks.  (I wanted to change that but there was
> resistance.)

Why there were resistance? This seems like an obvious betterment!

Kjetil Halvorsen



[Rd] table() with option "exclude=NULL" (PR#2491)
kjetil brinchmann halvorsen