[R] Help with Wilcoxon Test

Amit Patel amitrhelp at yahoo.co.uk
Mon Mar 2 16:59:34 CET 2009


Hi
I have 2 sets of data that I want to do a Wilcoxon test on. They are of the same dimension. One has 4 zero values and the other has 5.
> dim(SampA)
[1]  1 10
> dim(SampV)
[1]  1 10
 
I get the folowing error 

Error in wilcox.test.default(SampA, SampV, na.rm = TRUE, paired = FALSE,  : 
  'x' must be numeric



I am using the function
wilcox.test(SampA, SampV, na.rm=TRUE, paired=FALSE, conf.level=0.95)








More information about the R-help mailing list