David Croll
2009-Oct-16 14:25 UTC
[R] "negative length vectors are not allowed" in wilcox.exact() and perm.test()
Dear R friends, 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? Kind regards, David -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
Ben Bolker
2009-Oct-16 15:27 UTC
[R] "negative length vectors are not allowed" in wilcox.exact() and perm.test()
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.
Dieter Menne
2009-Oct-16 15:28 UTC
[R] "negative length vectors are not allowed" in wilcox.exact() and perm.test()
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. Dieter -- 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.