[R] Is there a simple way to use one-way ANOVA comparing the means of groups?

Peter Dalgaard P.Dalgaard at biostat.ku.dk
Wed Feb 13 16:49:32 CET 2008


Ben Bolker wrote:
>> On 13/02/2008, Kes Knave <kestrel78 <at> gmail.com> wrote:
>>     
>>> I have finally managed to get a "Analysis of Variance Table":
>>>  [snip]
>>>       
>
>   
>>> I want to compare the means of the four different groups, and see if
>>> there is a difference. I searched for help, and think that maybe
>>> Tukey(stats)  would be proper..?
>>> Is there anyone that could give advice for to this?
>>>       
>
>   I would strongly recommend getting a copy of Peter Dalgaard's
> book on "Introductory Statistics with R" ...
>   
Thanks, Ben...

The book is a bit simplistic on this particular issue, though, so I'd
also recommend looking into the multcomp package.

    -p
>   Ben Bolker
>
> ______________________________________________
> R-help at r-project.org 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.
>   


-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list