Hi: As the help page for wilcox.test() states (?wilcox.test), the test is meant for one or two groups. Since you have eight groups in your data, the help page for wilcox.test() suggests using kruskal.test() instead, where the latter function applies the Kruskal-Wallis test if your intention is to compare all eight groups simultaneously (analogous to one-way ANOVA). If you have something else in mind, perhaps you should clarify your intentions.
HTH, Dennis On Mon, Aug 16, 2010 at 11:48 PM, Iurie Malai <iurie.ma...@gmail.com> wrote: > Dear R users, > > I have a dataset with two variables: $esan - a grouping factor with 8 > levels and $reus. I'd like to do wilcox.test on this dataset as > sugested Weiwei here: > https://stat.ethz.ch/pipermail/r-help/2007-July/136627.html. I tried > to adapt his recommendation but no succes. Can anyone help me? > > > Regards, > > Iurie Malai, Senior Lecturer > Department of Psychology > Faculty of Psychology and Special Education > Ion Creanga Moldova Pedagogical State University > > ______________________________________________ > R-help@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. > > [[alternative HTML version deleted]] ______________________________________________ R-help@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.