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

Patrick Burns pburns at pburns.seanet.com
Fri Oct 16 19:45:24 CEST 2009


Ben Bolker wrote:
> 
> 
> 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 ... ?
> 

Yes, can we get an example of a negative length
vector, please.

Pat




More information about the R-help mailing list