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

Ben Bolker bolker at ufl.edu
Fri Oct 16 17:27:47 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?
> 
> 

Hard to say. Reproducible example please ... ?

-- 
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-tp25926434p25927290.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list