[R] robustbase problem [bug?] in adjbox function.
Peter Ehlers
ehlers at ucalgary.ca
Wed Dec 8 16:57:01 CET 2010
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
More information about the R-help
mailing list