Dear r-help members.
I would like to compare species numbers of moths between eight different forests (each sampled for six nights). I would like to do a nested anova to compare species numbers between forests and nights.
For more site specific details I wanted to do a Tukey test (TukeyHSD). Unfortunately this test is not working (message: "nicht anwendbare Methode f?r 'TukeyHSD' auf Objekt der Klasse "c('anova', 'data.frame" ) /(message: "method not appropriate for TukeyHSD for objects of the class "anova", "data.frame").
I tried it also with the "aov" instead of the "anova" function but neither the "aov" nor the "anova" approach is working.
Could anyone help me with this problem?
Attached you can find the txt.file and the r-script.
I'm working with a MAC OSX snow leopard, with R-Studio 0.96 316.
Thank you very much.
Michael
TukeyHSD not working
3 messages · Michael Eisenring, arun, Jean V Adams
Hi, Check this link. http://stackoverflow.com/questions/5904513/tukeyhsd-after-within-factors-anova A.K. ----- Original Message ----- From: Michael Eisenring <eimichae at ethz.ch> To: r-help at r-project.org Cc: Sent: Friday, July 20, 2012 6:15 AM Subject: [R] TukeyHSD not working Dear r-help members. I would like to compare species numbers of moths between eight different forests (each sampled for six nights). I would like to do a nested anova to compare species numbers between forests and nights. For more site specific details I wanted to do a Tukey test (TukeyHSD). Unfortunately this test is not working (message:? "nicht anwendbare Methode f?r 'TukeyHSD' auf Objekt der Klasse "c('anova', 'data.frame" ) /(message: "method not appropriate for TukeyHSD for objects of the class "anova", "data.frame"). I tried it also with the "aov" instead of the "anova" function but neither the "aov" nor the "anova" approach is working. Could anyone help me with this? problem? Attached you can find the txt.file and the r-script. I'm working with a MAC OSX snow leopard, with R-Studio 0.96 316. Thank you very much. Michael ______________________________________________ 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.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120720/62c7cf23/attachment.pl>