Skip to content
Prev 2529 / 398500 Next

Ordered factors , was:[R] surrogate poisson models

On Wed, 5 May 1999, BXC wrote:

            
What is `natural' is a matter of opinion, of course, and does not
facilitate reducing the number of dfs given to the factor.  If the levels
are known not to be equally spaced, and it is know how they are spaced then
I suggest you have rather more than an ordinal varaible, which is what
ordered factors are designed for. In that case, use poly on a set of scores
for the levels.
Well, there are lots of things we could add, but this one is 
precisely (as far as I can see) contr.sdif in the MASS library.