[R] How to display full name for the coefficients/factors in summary()?

2009-11-03 Thread Jen-Chien Chang
Hi, I am wondering if there is a way to display the full anme of the regression coeffients/factors in the summary? Suppose I have a bogus data set using weekday as factor which has 7 levels such as: mydata <- sample(364) wk <- rep(1:7, 52) weekday <- factor(wk,1:7,c("Mon","Tue","Wed","Thu"

[R] how to print the full name of the factors in summary?

2009-11-02 Thread Jen-Chien Chang
Hi, I am wondering if there is a simple way to fix the problem I am having. For unknown reason, I could not get the full name of the factors to be printed in the summary. I have tried to used summary.lm as well but the problem still persists. SJ$Weekday <- factor(SJ$Weekday,1:7,c("Mon","Tue