robustbase problem [bug?] in adjbox function.
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