SegSeriesTrajectories-class: Class '"SegSeriesTrajectories"'

Description Objects from the Class Slots Extends Accessors Other methods Author(s) See Also Examples

Description

Objects of this class is a product of the clusterSegments function.

Objects from the Class

Objects can be created by calls of the form new("SegSeriesTrajectories", ...).

Slots

ssmatrix:

Object of class "data.frame" The output is a data.frame with the following information (in columns): the observed data ("observed"), the estimated, wavelet denoised data ("estimated"), the residuals of the estimation ("residuals"), the estimated subpopulations IDs ("subpopulations"), the series IDs/filenames ("seriesID")

ssparams:

Object of class "character" Parameters used to run the clustering algorithm, clusterSegments.

sparams:

Object of class "character" Parameters used to run the segmentation algorithm, denoiseSegments.

smatrix:

Object of class "matrix" A matrix containing the preliminary results from segmentation/denoising for each (sub)series generated by transformSeries. Each list element contains the following information in matrix form (in columns): the observed data (1st column), the estimated, wavelet denoised data (2nd column), the residuals of the estimation (3rd column), the starting/ending time points of each segment (4th/5th columns), the estimated segment IDs (6th column), the quantiles of the estimated data [minimum, 5%, 10%, 15%, ..., 95%, maximum] (from columns 7th to 27th) and the series IDs (28th column)

path:

Object of class "character" Inherited from Trajectories-class

filenames:

Object of class "character" Inherited from Trajectories-class

trajlist:

Object of class "list" Trajectories. Inherited from Trajectories-class

avd:

Object of class "numeric" adf p-values. Inherited from Trajectories-class

tmethod:

Object of class "character" Transformation method. Inherited from TransTrajectories-class

breakpoints:

Object of class "list" breakpoints, if used.

tavd:

Object of class "numeric" adf p-values after transformation, if used. Inherited from TransTrajectories-class

ttrajlist:

Object of class "list" Transformed trajectories. Inherited from TransTrajectories-class

tfilenames:

Object of class "character" Transformed trajectories names. Inherited from TransTrajectories-class

ct:

Object of class "numeric" Grouping information.

Extends

Class "SegTrajectories", directly. Class "TransTrajectories", directly. Class "Trajectories", directly.

Accessors

In the code snippets below, x is a SegSeriesTrajectories object.

getTNames(x): Retrieves filenames from slot filenames or tfilenames depending on whether the series has been transformed.

getTraj(x): Retrieves trajectories list from slot trajlist or ttrajlist depending on whether the series has been transformed.

getBreaks(x): Retrives breakpoints (if any) from slot breakpoints

getAVD(x): Retrieves adf p-values from slot avd or tavd depending on whether the series has been transformed.

getSegments(x): Retrieves clustered segmentation data from slot smatrix produced by clusterSegments

Other methods

In the code snippets below, x is a SegSeriesTrajectories object.

diagnosticPlots(x): Generates the diagnostic plots of the wavelet denoising model residuals

getIntervals(x): Helper function to retrieve subpopulations and computes the intervals for each subpopulation after segmentation and clustering.

plot(x): Plots the final clustered segmentation data after clusterSegments

show(x): Displays summary of object, including inherited classes. This helps in recalling the analysis path taken to produce the current results.

Author(s)

Diana H.P. Low, Efthimios Motakis

See Also

SegTrajectories, clusterSegments

Examples

1
showClass("SegSeriesTrajectories")

deltaGseg documentation built on Nov. 8, 2020, 8:06 p.m.