Hi see
?contrasts ?model.matrix go through archives and through chapter 11.1.1 Contrasts from R-Intro document. Anyway, when you go through this chapter you will probably benefit from reading previous chapters too. Regards Petr > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Soumitro Dey > Sent: Tuesday, September 03, 2013 8:51 PM > To: r-help@r-project.org > Subject: [R] summary(object) not showing all values of a factor > > Dear all, > > I am encountering some odd results from the summary(object) command for > coxph and hurdle models. In both cases the result of summary(object) > function leaves out one of the categories of a categorical variable > used in the model. It is typically the first category if sorted > alphabetically. Is there any way around this problem? > > For example, if I have categorical variable "type" with values > {A,B,C,D,E}, it typically leaves out A in the result of the summary. > > Thanks! > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.