[R] ANOVA in R

From: Russell Compton <rmc095_at_bham.ac.uk>
Date: Thu 14 Sep 2006 - 08:23:13 GMT


Despite having used R on a daily basis for the past two years, I'm encountering some difficulty performing an ANOVA on my data. What I'm trying to do is the following:  

Given data such as:  

Day 1 Day 4 Day 8

2 7 2

3 2 8

3 4 7

6 6 8

1 3 4  

I want to use ANOVA to determine if there is a significant change over the three days. In other stats packages I have used, I can just select this data and run the ANOVA function and get the F and p values. However in R, the anova function seems to only work with a fitted model, eg. Linear regression. This function seems to assume there is a relationship such as day1~ day 4 + day 8, but in my case there isn't - I just want to perform an ANOVA without regression. If anyone could point me in the right direction I'd greatly appreciate it,  

Thanks

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch 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. Received on Thu Sep 14 18:48:19 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 14 Sep 2006 - 09:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.