From ihaka@stat.auckland.ac.nz  Tue Oct  7 23:33:20 1997
From: ihaka@stat.auckland.ac.nz (Ross Ihaka)
Date: Wed, 8 Oct 1997 11:33:20 +1300 (NZDT)
Subject: R-alpha: keep.order in formulae
Message-ID: <199710072233.LAA29612@stat1.stat.auckland.ac.nz>

[ I'm teaching log-linear models at present, and looking at Agresti's
  book. ]

Often when producing analyis of variance or analysis of deviance
tables it is important to get effects fitted in a specific order.
At present in S / R this is done as follows:

	anova( glm( terms(formula, keep.order=T), ...) )

Can anyone think of a reason why keep.order should not become an
argument to "lm" and "glm", rather than forcing the use of "terms".
I.e., the above could be written:

	anova( glm(formula, ..., keep.order=T) )

Having to resort to the use of "terms" seems like a complication my
punters could do without.

	Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: keep.order in formulae
Ross Ihaka