-----Original Message-----
From: r-help-bounces at r-project.org
[mailto:r-help-bounces at r-project.org] On Behalf Of Daniel Weitzenfeld
Sent: 09 August 2012 22:08
To: r-help at r-project.org
Subject: [R] summary() after changing contrasts
Hi,
After running a regression on a factor variable, summary()
reports the coefficients 'nicely,' ie, labelled with a string
that is a concatenation of the variable name and the factor label.
However, changing the base case a la
contrasts(variable)<-contr.treatment(N, base=x)
results in the coefficients being reported as a less-helpful
concatenation of variable name plus a digit.
Of course, it's possible to map the digit to the appropriate
factor label, but I'm wondering if there's an easy fix...
-Dan
[[alternative HTML version deleted]]