Learn R Programming

funtimes (version 5.0)

CExpandWindowCluster: Window-Level Time Series Cluster Expansion

Description

This is an auxiliary function to expand a window-level time series cluster, based on Ciampi et al. (2010).

Usage

CExpandWindowCluster(e, Euncl)

Arguments

e

a vector of logical values identifying which time series among Euncl were clustered together with e over at least w*Epsilon slides within a window (see Definition 7 by Ciampi et al., 2010). This is a seed for window-level clustering.

Euncl

a square matrix identifying the binary window cluster relation for yet unclustered time series.

Value

A vector of logical values indicating which time series in Euncl should be included in the window-level cluster with e.

References

Ciampi, A., Appice, A., and Malerba, D. (2010). Discovering trend-based clusters in spatially distributed data streams. In International Workshop of Mining Ubiquitous and Social Environments, pages 107--122.

See Also

CNeighbor, CHomogeneity, CSlideCluster, CExpandSlideCluster, CWindowCluster

Examples

Run this code
# NOT RUN {
set.seed(123)
e <- sample(c(TRUE, FALSE), 5, replace = TRUE)
Euncl <- matrix(sample(c(TRUE, FALSE), 5, replace = TRUE), 5, 5)
CExpandWindowCluster(e, Euncl)
# }

Run the code above in your browser using DataLab