[R] "negative length vectors are not allowed" in wilcox.exact() and perm.test()

Dieter Menne dieter.menne at menne-biomed.de
Fri Oct 16 17:28:22 CEST 2009

David Croll wrote:
> I want to compare two datasets and I get the message
> Error in .Call("cpermdist2", ma = as.integer(m), mb = as.integer(col),  :
>   negative length vectors are not allowed
> after specifying the exact test. I'm using the exactRankTests package. Do
> you suggest me using the coin library, or is there anything "wrong" with
> my data?

Yes. You did not show your data.


View this message in context: http://www.nabble.com/%22negative-length-vectors-are-not-allowed%22-in-wilcox.exact%28%29-and-perm.test%28%29-tp25926434p25927297.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list