My apologies to Martin.

I should have known how prompt he would be and I should have
been more on the ball in checking incoming mail.

The new version of robustbase on R-Forge does indeed fix this.
Thanks to the robustbase team.

Peter

On 2010-12-08 07:57, Peter Ehlers wrote:
On 2010-12-08 06:39, kv wrote:

Thanks Peters, what i suspected (i.e. ties). For what it's worth i would add
that the problem happends when length(data)>100 (i.e. the second condition
in the mc.default() function).

Best,

I don't think that the length of 100 is special (other
than in the 'doReflect' default).

Here are a couple of short vectors that cause the
error message:

   x1<- c(13, 30, 30, 32, 39, 40, 40, 40, 42)
   x2<- c(11, 31, 39, 39, 42, 46, 49, 49, 50)

   mc(x1, doReflect=FALSE)
   mc(x1, doReflect=TRUE)
   mc(x2, doReflect=FALSE)
   mc(x2, doReflect=TRUE)


Peter Ehlers

______________________________________________
R-help@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.

______________________________________________
R-help@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.

Reply via email to