Plotting twdtw* objects

Share:

Description

Methods for plotting objects of class twdtw*.

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'twdtwTimeSeries,ANY'
plot(x, type = "timeseries", ...)

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

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

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.

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.

Value

A ggplot object.

Author(s)

Victor Maus, vwmaus1@gmail.com

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.