Learn R Programming

funtimes (version 2.2)

CExpandWindowCluster: Window-level time series cluster expansion

Description

This is an auxillary 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

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
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