As of rev. 61035 in r-devel, setRefClass() now returns a generator
function, as setClass() has done since 2.15.0.
The convenient style is now:
mEdit <- setRefClass("mEdit",..)
xx <- mEdit(data = xMat)
instead of
xx <- mEdit$new(data = xMat)
The returned object still has fields and me
Hi Milan,
Take a look at the contr.Sum() and contr.Treatment() functions in the car
package.
(I recall, BTW, the sometimes acrimonious previous discussion of this issue.)
Best,
John
John Fox
Sen. William McMaster Prof. of Social Statistics
Depa
Hi!
I would like to suggest to make it possible, in one way or another, to
get meaningful contrast names when using contr.sum(). Currently, when
using contr.treatment(), one gets factor levels as contrast names; but
when using contr.sum(), contrasts are merely numbered, which is not
practical and