I'm about to commit the following new feature for R-devel aka "pre-R
1.7.0":
o str() now shows ordered factors differently than unordered ones.
The RFC (Request For Comment) is about which string should be
printed.
I was going to use the following
> str(ordered(4:1))
Ord.factor w/ 4 levels
"1"<"2"<"3"<"4": 4 3 2 1
i.e., use "Ord.factor" where we currently have "Factor".
I found this better than "Ord.fac." or "Ordered" which
would be
closer in length than the current "Factor" {string length *is*
an issue for str()}.
Comments are welcome.
Martin Maechler <maechler@stat.math.ethz.ch>
http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO C16 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
phone: x-41-1-632-3408 fax: ...-1228 <><