Learn R Programming

regsubseq (version 0.12)

recursive.B: Compute the Gap-Linearity Test Statistics

Description

An internal function used to recursively compte gap-linearity test statistics. This function is not intended to be used by an end user.

Usage

recursive.B(x, indices = FALSE);

Arguments

x
A sequence of numbers.
indices
Whether to keep track of indices of the end points of the most gap-linear subsequences.

Value

A table of computed test statistics. If indices is TRUE, almost return the indices of the end points of the most gap-linear subsequences.

References

Di and Perlman (2007)