informative_bands {AnomalyScore} | R Documentation |
indexes where a series is within a specific band
Description
Return the indicies in which the values of a series x are located within a band b, called the informative bands.
Usage
informative_bands(allbands, x)
Arguments
allbands |
a list with two elements the lowerbounds of all (n)(n-1)/2 pairs and the upperbounds of the pairwise bands. Result of the function all_bands |
x |
A vector representing a univariate time series |
Value
A vector with indices
See Also
Band Depth Clustering for Nonstationary Time Series and Wind Speed Behavior (2018) Tupper et al
Examples
X=matrix( rnorm(200), ncol=10 )
M=all_bands(X)
informative_bands(M,X[,1] )
[Package AnomalyScore version 0.1 Index]