Learn R Programming

ecp (version 1.5.2)

process.data: PROCESS DATA

Description

Initializes components necessary to perform agglomerative analysis.

Usage

process.data(member, X, alpha)

Arguments

member
Segment membership vector for the time series.
X
A matrix containing the time series with observations in R^d.
alpha
Index used for determining the distance between and within segments.

Value

  • Returns a list with the following components.
  • gofVector showing the progression of the goodness of fit statistic.
  • listMatrix showing the progression of the set of change points.
  • NNumber of initial segments.
  • sizesSizes of each segment during the agglomerative process.
  • rightVector containing indices of the right adjacent segments.
  • leftVector containing indices of the left adjacent segments.
  • openVector indicating if a segment has been merged.
  • DMatrix of distances between segments.
  • lmVector containing indices of the starting point of a segment.

Details

Called by the e.agglo method, and should not be called by the user.

See Also

e.agglo