Re: [R] problem with wilcox.test()

2015-07-16 Thread peter dalgaard
> On 16 Jul 2015, at 15:13 , Ivan Calandra wrote: > > Dear useRs, > > I am running a wilcox.test() on two subsets of a dataset and get exactly the > same results although the raw data are different in the subsets. > > mydata <- structure(list(cat1 = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 1L, 1L,

[R] problem with wilcox.test()

2015-07-16 Thread Ivan Calandra
Dear useRs, I am running a wilcox.test() on two subsets of a dataset and get exactly the same results although the raw data are different in the subsets. mydata <- structure(list(cat1 = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L), .Label = c("high", "lo