search for: myfactor3

Displaying 1 result from an estimated 1 matches for "myfactor3".

Did you mean: myfactor
2012 Oct 27
1
contr.sum() and contrast names
...lent to levels of a factor, because one needs to know the reference (here, level or sum) to interpret them. But when one knows the type of contrasts that are being used, useful labels are still of high value. I don't think anybody does serious work with sum contrasts named myfactor1, myfactor2, myfactor3. (This reasoning does not so much apply to contr.helmert() since ordered factors can quite naturally be reported using numbers.) Thus, would it be possible to add an option to contr.sum() so that it returns a matrix whose column names are the levels of the input factor? Such an option could also b...