Skip to content
Prev 74803 / 398502 Next

cut.Date functionality for chron date/time objects

Assuming, as in your post:

set.seed(123)
mychron <- chron(sort(runif(10, 0, 10)))
breaks <- quantile(mychron)

# is one of these adequate?

cut(mychron, breaks)

cut(unclass(mychron), unclass(breaks), lab = FALSE)
On 8/2/05, Sebastian Luque <spluque at gmail.com> wrote: