informative_bands: indexes where a series is within a specific band

View source: R/Band_Depth_Distance.R

informative_bandsR 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] )


AnomalyScore documentation built on April 4, 2025, 3:13 a.m.