Skip to content
Prev 29392 / 63424 Next

matching predictors and dummies

On Fri, 11 Jul 2008, Jeroen Ooms wrote:

            
See
 	?terms
 	?terms.object

and run

 	example( terms.object )

or something like

 	terms( lm( Ozone ~ Temp + factor(Month), airquality ) )
I'm guessing a custom contrast function would do this. Have a look at

 	?contrasts
 	page( contr.treatment, 'print' )

Or just hack the names attribute of the relevant pieces in the object 
returned by lm/glm.

You do know to use str(), right?


HTH,

Chuck
Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901