Re: [R] controlling number of decimals printed in anova tables?

2009-02-16 Thread Gabor Grothendieck
Or safer: df - as.integer(round(...)) On Mon, Feb 16, 2009 at 10:54 AM, Gabor Grothendieck ggrothendi...@gmail.com wrote: Try this: On Mon, Feb 16, 2009 at 9:02 AM, Michael Friendly frien...@yorku.ca wrote: For glm() models, I often find both the print() and summary() method disappointing

Re: [R] controlling number of decimals printed in anova tables?

2009-02-16 Thread Dieter Menne
Gabor Grothendieck ggrothendieck at gmail.com writes: Or safer: df - as.integer(round(...)) Did you try? I believe it is a problem of printCoefmat that has quite a few options for special column, but none for df. Ask Martin Mächler. Dieter __

Re: [R] controlling number of decimals printed in anova tables?

2009-02-16 Thread Gabor Grothendieck
On Mon, Feb 16, 2009 at 11:08 AM, Dieter Menne dieter.me...@menne-biomed.de wrote: Gabor Grothendieck ggrothendieck at gmail.com writes: Or safer: df - as.integer(round(...)) Did you try? I believe it is a problem of printCoefmat that has quite a few options for special column, but none

Re: [R] controlling number of decimals printed in anova tables?

2009-02-16 Thread Dieter Menne
Gabor Grothendieck ggrothendieck at gmail.com writes: On Mon, Feb 16, 2009 at 11:08 AM, Dieter Menne Yes, with as.integer(round(...)) It looks like this: modelFit.glm(berk.mod2) Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 modelFit.glm(berk.mod2) Analysis of

Re: [R] controlling number of decimals printed in anova tables?

2009-02-16 Thread Michael Friendly
Thanks, Gabor No, that wasn't it at all. In print.anova, I found: if (length(i - grep(Df$, cn))) zap.i - zap.i[!(zap.i %in% i)] so it only recognizes Df, not df as a column name prefix to print as integers. -Michael Gabor Grothendieck wrote: Or safer: df - as.integer(round(...))