[R] Name for factor's levels with contr.sum
Andreas Wittmann
andreas_wittmann at gmx.de
Tue Feb 23 21:10:56 CET 2010
Hi R-useRs,
after having read
http://tolstoy.newcastle.edu.au/R/help/05/07/8498.html
with the same topic but five years older. the solution for a contr.sum
with names for factor levels for R version 2.10.1 will be to comment out
the following line
#colnames(cont) <- NULL
in contr.sum i guess? by the way, with contrasts=FALSE colnames are set,
so i don't know what the aim is to avoid this with contrasts=TRUE?
best regards
Andreas
More information about the R-help
mailing list