Find the most gaplinear length k+1 subsequence of the input sequence. The
subsequence found by this function has the same end points as the original
sequence. This function is not intended to be used by an end user directly.
Users should use test.gaplin.t
, test.gaplin.p
or
test.gaplin
instead.
1  most.gaplin.sub(x, k, T);

x 
The input sequence, a vector of numbers. 
k 
The length of the subsequences for which we want to test gaplinearity. 
T 
A threshold value. A subsequence will only be examined when its
gaplinearity test statistic can be bigger than this 
improved 

t 
The gaplinearity test statistic corresponding to the most gaplinear subsequence. 
sub 
The most gaplinear subsequence. 
sigma 
The indices corresponding to the most gaplinear subsequence. 
Yanming Di
Di and Perlman (2007)
test.gaplin
, test.gaplin.t
,
test.gaplin.p
.
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.