s_e_points: Derives a subset of integers from a given set
Description
This function finds two subsets of integers in a given interval [s,e].
The routine is typically not called directly by the user; its result
is used in order to construct the expanding intervals, where the Isolate-Detect method
is going to be applied. For more details on how the Isolate-Detect methodology works, see
References.
Usage
s_e_points(r, l, s, e)
Arguments
r
A positive integer vector containing the set, from which the end-points
of the expanding intervals are to be chosen.
l
A positive integer vector containing the set, from which the start-points
of the expanding intervals are to be chosen.
s
A positive integer indicating the starting position, in the sense that we will
choose the elements from r and l that are greater than s.
e
A positive integer indicating the finishing position, in the sense that we will
choose the elements from r and l that are less than e.
Value
e_points A vector containing the points that will be used as end-points,
in order to create the left-expanding intervals. It consists of the input e and
all the elements in the input vector r that are in (s,e).
s_points A vector containing the points that will be used as start-points,
in order to create the left-expanding intervals. It consists of the input s and
all the elements in the input vector l that are in (s,e)
References
Anastasiou, A. and Fryzlewicz, P. (2018). Detecting multiple generalized change-points
by isolating single ones.