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

John Kane jrkrideau at yahoo.ca
Fri Oct 16 20:00:03 CEST 2009


Number of politicians' promises kept?

--- On Fri, 10/16/09, Patrick Burns <pburns at pburns.seanet.com> wrote:

> From: Patrick Burns <pburns at pburns.seanet.com>
> Subject: Re: [R] "negative length vectors are not allowed" in wilcox.exact() and perm.test()
> To: "Ben Bolker" <bolker at ufl.edu>
> Cc: r-help at r-project.org
> Received: Friday, October 16, 2009, 1:45 PM
> 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
> 
> ______________________________________________
> R-help at r-project.org
> mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
> 


      __________________________________________________________________
Make your browsing faster, safer, and easier with the new Internet Explorer® 8. Opt
ernetexplorer/




More information about the R-help mailing list