Distance Matrix for Quaternion Time Series SamplesSource:
Distance Matrix for Quaternion Time Series Samples
distDTW( qts_list, normalize_distance = TRUE, labels = NULL, resample = TRUE, disable_normalization = FALSE, step_pattern = dtw::symmetric2 )
An object of class qts_sample.
A boolean specifying whether to compute normalized distance between QTS. Please note that not all step patterns are normalizable. Defaults to
A character vector specifying labels for each QTS. Defaults to
NULLwhich uses row numbers as labels.
A boolean specifying whether the QTS should be uniformly resampled on their domain before computing distances. Defaults to
A boolean specifying whether quaternion normalization should be disabled. Defaults to
FALSEwhich ensures that we always deal with unit quaternions.
A dtw::stepPattern specifying the local constraints on the warping path. Defaults to dtw::symmetric2 which uses symmetric and normalizable warping paths with no local slope constraints. See dtw::stepPattern for more information.
A stats::dist object storing the distance matrix between QTS in a sample via DTW.