Find the Most GapLinear Subsequence.
Description
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.
Usage
1  most.gaplin.sub(x, k, T);

Arguments
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 
Value
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. 
Author(s)
Yanming Di
References
Di and Perlman (2007)
See Also
test.gaplin
, test.gaplin.t
,
test.gaplin.p
.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.