On Fri, 22 Feb 2013, David Winsemius wrote:
`is.ordered` will return TRUE if it is an ordered factor. That's not what you want to know and using `as.ordered` would also fail to provide the needed ordering. You need to provide a proper levels argument to the factor function. And you will find that making an ordered factor will probably have undesirable side effects.
Thank you, David. That was the conclusion I was approaching as I tried is.ordered and as.ordered and saw they did not affec the needed changes. I'll look at levels or sort the input data file before reading it into R. Rich ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.