> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Campbell
> Sent: Monday, August 11, 2008 8:51 PM
> To: R Help
> Subject: [R] ANOVA tables - storing F values
>
> When I run a summary(anova) I get output for all of the
> el
Hi,
lets look at an example:
fit <- lm(sr ~ ., data = LifeCycleSavings)
fit.anova <- anova(fit)
you can see the structure from the anova:
str(fit.anova)
Classes ‘anova’ and 'data.frame': 5 obs. of 5 variables:
$ Df : int 1 1 1 1 45
$ Sum Sq : num 204.1 53.3 12.4 63.1 650.7
$
When I run a summary(anova) I get output for all of the elements (columns)
as these are multiple - single anova results. Can I store the F values? I
can't find the attribute of the fitted model attributes(fit) that stores
these F values, and for that matter, P values.
Thanks
--
Gareth Campbell
3 matches
Mail list logo