From bolker at ufl.edu  Thu Apr 29 14:29:18 2010
From: bolker at ufl.edu (Ben Bolker)
Date: Thu, 29 Apr 2010 12:29:18 +0000 (UTC)
Subject: [Rd] bug in cut.POSIXt(..., breaks = &lt; numeric&gt;
	) and cut.Date
References: <q2k94730b8a1004281704kfc24652q15a56e4571a28e37@mail.gmail.com>
Message-ID: <loom.20100429T142823-659@post.gmane.org>

Felix Andrews <felix <at> nfrac.org> writes:

> 
> x <- seq(as.POSIXct("2000-01-01"), by = "days", length = 20)
> 
> cut(x, breaks = 3)
> # Error in `levels<-.factor`(`*tmp*`, value = character(0)) :
> #   number of levels differs
> 
> cut(as.Date(x), breaks = 3)
> # Error in `levels<-.factor`(`*tmp*`, value = character(0)) :
> #   number of levels differs


  Is this the same?

http://article.gmane.org/gmane.comp.lang.r.devel/22155/match=cut+posixt



[Rd] bug in cut.POSIXt(..., breaks = &lt; numeric&gt; ) and cut.Date
Ben Bolker