Hi,

I have a vector x of length = 2109199 which I want to segment using the
function segment() in package tilingArray.

I set the two parameters as:
maxk = 30
maxseg = 140613 = length/15

and run:
segs <- segment(x, maxk = maxk, maxseg = maxseg)

Here's the error message:

Error in .Call("findsegments", G, maxseg, verbose, PACKAGE = "tilingArray")
:
  negative length vectors are not allowed

Help anyone? Thanks!

-HT

	[[alternative HTML version deleted]]

