Get elements from twdtwMatches objects

Share:

Description

Get elements from twdtwMatches-class objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'twdtwMatches'
getAlignments(object, timeseries.labels = NULL,
  patterns.labels = NULL)

## S4 method for signature 'twdtwMatches'
getInternals(object, timeseries.labels = NULL,
  patterns.labels = NULL)

## S4 method for signature 'twdtwMatches'
getMatches(object, timeseries.labels = NULL,
  patterns.labels = NULL)

Arguments

object

an object of class twdtwMatches.

timeseries.labels

a vector with labels of the time series.

patterns.labels

a vector with labels of the patterns.

Value

a list with TWDTW results or an object twdtwTimeSeries-class.

Author(s)

Victor Maus, vwmaus1@gmail.com

See Also

twdtwMatches-class, and twdtwApply

Examples

1
2
3
4
5
6
7
8
9
# Getting patterns from objects of class twdtwMatches
patt = twdtwTimeSeries(patterns.list)
ts = twdtwTimeSeries(example_ts.list)
mat = twdtwApply(x=ts, y=patt, weight.fun=logisticWeight(-0.1,100), keep=TRUE)
getPatterns(mat)
getTimeSeries(mat)
getAlignments(mat)
getMatches(mat)
getInternals(mat)

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