[R] Why the factor levels returned by cut() are not ordered?

Wolfram Fischer wolfram at fischer-zim.ch
Wed Nov 29 09:59:36 CET 2006

What is the reason, that the levels of the factor
returned by cut() are not marked as ordered levels?

> is.ordered( cut( breaks=3, sample(10 ) ) )

> help(factor)
    If 'ordered' is 'TRUE', the factor levels are assumed to be ordered.


More information about the R-help mailing list