Learn R Programming

dtwSat (version 0.2.8)

plot: Plotting twdtw* objects

Description

Methods for plotting objects of class twdtw*.

Usage

# S4 method for twdtwAssessment,ANY
plot(x, type = "area", ...)

# S4 method for twdtwCrossValidation,ANY plot(x, type = "crossvalidation", ...)

# S4 method for twdtwTimeSeries,ANY plot(x, type = "timeseries", ...)

# S4 method for twdtwMatches,ANY plot(x, type = "alignments", ...)

# S4 method for twdtwRaster,ANY plot(x, type = "maps", ...)

Value

A ggplot object.

Arguments

x

An object of class twdtw*.

type

A character for the plot type: ''paths'', ''matches'', ''alignments'', ''classification'', ''cost'', ''patterns'', ''timeseries'', ''maps'', ''area'', ''changes'', and ''distance''.

...

additional arguments to pass to plotting functions. plotPaths, plotCostMatrix, plotAlignments, plotMatches, plotClassification, plotPatterns, plotTimeSeries, plotMaps, plotArea, or plotChanges.

Author

Victor Maus, vwmaus1@gmail.com

Details

Plot types

:
paths: Method for plotting the minimum paths in the cost matrix of TWDTW.
matches: Method for plotting the matching points from TWDTW analysis.
alignments: Method for plotting the alignments and respective TWDTW dissimilarity measures.
classification: Method for plotting the classification of each subinterval of the time series based on TWDTW analysis.
cost: Method for plotting the internal matrices used during the TWDTW computation.
patterns: Method for plotting the temporal patterns.
timeseries: Method for plotting the temporal patterns.