Skip to content
Back to formatted view

Raw Message

Message-ID: <971536df0902160754v2097b5a8v527ff1019102e91b@mail.gmail.com>
Date: 2009-02-16T15:54:01Z
From: Gabor Grothendieck
Subject: controlling number of decimals printed in anova tables?
In-Reply-To: <499971F1.1070308@yorku.ca>

Try this:

On Mon, Feb 16, 2009 at 9:02 AM, Michael Friendly <friendly at yorku.ca> wrote:
> For glm() models, I often find both the print() and summary() method
> disappointing if my main interest
> is seeing how well a given model fits. A basic display would just compare
> the null model to to my model.
>
> I wrote the function below based on code in some package.
> How can I make it so that the df in the table are printed with 0 decimals?

Try this:
df <- as.integer(c(x$df.null, x$df.residual))