Learn R Programming

dtwSat (version 0.1.0)

getInternals: Get internals from dtwSat object

Description

This function retrieves cost matrix, inputs, and other internal structures from dtwSat-class object

Usage

getInternals(object)

Arguments

object
A dtwSat-class object

Value

  • An object of class list whose elements are internals from dtwSat-class object costMatrix: the cumulative cost matrix, stepPattern: the stepPattern used for the computation, see package dtw, N: query length M: reference length query: the query time series, and template: the reference time series.

See Also

dtwSat, twdtw

Examples

Run this code
names(query.list)
alig = dtwSat(query.list[["Soybean"]], template, keep=TRUE)
getInternals(alig)

Run the code above in your browser using DataLab