Skip to content
Prev 172346 / 398502 Next

Help with Wilcoxon Test

Amit Patel wrote:
Hi Amit,
This is probably due to the fact that SampA is not numeric (SampB may be 
the same). When you say "zero values", I suspect you may mean NAs, and 
SampA and SampB are read in from a data file of some sort. It's quite 
common for users to assume that an empty field (or even a space or a 
period ".") will be read as NA. If this sounds like it may be the 
problem, check the function that you are using to read in the data for 
an na.strings argument, and see if it is what you think it is. If it 
isn't, any column of a resulting data frame will usually come in as a 
factor.

Jim