Description Usage Arguments Value Author(s) References See Also
Find the most linear 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.lin.t
, test.lin.p
or test.lin
instead.
1 | most.linear.sub(x, k, t);
|
x |
The input sequence, a vector of numbers. |
k |
The length of the subsequences for which we want to test linearity. |
t |
A threshold value. A subsequence will only be examined when its
linearity test statistic can be bigger than this |
improved |
|
t |
The linearity test statistic corresponding to the most linear subsequence. |
sub |
The most linear subsequence. |
sigma |
The indices corresponding to the most linear subsequence. |
Yanming Di
Di and Perlman (2007)
test.lin
, test.lin.t
, test.lin.p
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.