Message-ID: <Pine.A41.4.44.0210151714220.123024-100000@homer39.u.washington.edu>
Date: 2002-10-16T00:14:52Z
From: Thomas Lumley
Subject: cut() on NA gives 0 when labels=F
In-Reply-To: <15788.39971.929286.111207@gargle.gargle.HOWL>
On Tue, 15 Oct 2002, David Brahm wrote:
> Apologies ahead of time if it's already fixed in R 1.6.0 and/or already known
> (perhaps related to PR#1694?). If others agree it's a bug I'll submit it.
In R 1.6.0
> cut(c(2,NA), 1:5, labels=FALSE)
[1] 1 NA
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._