PlotOptimalAlignment: Plot Optimal Alignment

View source: R/PlotOptimalAlignment.R

PlotOptimalAlignmentR Documentation

Plot Optimal Alignment

Description

Plot Optimal Alignment between two time series

Usage

PlotOptimalAlignment(FirstVector, SecondVector,

 Type = "threeway", FirstTime, SecondTime, Frequency, ...)

Arguments

FirstVector

[1:n] numerical vector

SecondVector

[1:m] numerical vector

Type

Optional, Type alignment plot: twoway, threeway, density, alignment

FirstTime

Optional, [1:n] vector, time object of class Date, see ConvertNumerical2TSobject

SecondTime

Optional, [1:m] vector, Time object of class Date, see ConvertNumerical2TSobject

Frequency

Optional, either days, weeks, months or quarters or years

...

Optional, arguments passed on to DTWdistance

Details

For Plot types see either pictures in [Giorgino, 2009] or dtwPlot documentation.

Value

Output in invisible mode of dtwPlot

Author(s)

Michael Thrun

References

[Giorgino, 2009] Giorgino, T.: Computing and visualizing dynamic time warping alignments in R: the dtw package, Journal of statistical Software, Vol. 31(7), pp. 1-24. 2009.

Rabiner, L. R., & Juang, B.-H. (1993). Chapter 4 in Fundamentals of speech recognition. Englewood Cliffs, NJ: Prentice Hall.

See Also

DTWdistance

Examples

##ToDo

Mthrun/TSAT documentation built on Feb. 5, 2024, 11:15 p.m.