LCSS.Measure: LONGEST COMMON SUBSEQUENCE DISTANCE MEASURE

View source: R/Similarity_indices.R

LCSS.MeasureR Documentation

LONGEST COMMON SUBSEQUENCE DISTANCE MEASURE

Description

Computes the 'Longest Common Sub sequence distance' between a pair of numeric time series, and return difference between the length of s1 and the LCSS distance.

Usage

LCSS.Measure(s1, s2, e = 0.01)

Arguments

s1

a numeric vector containing the first time series.

s2

a numeric vector containing the second time series.

e

a positive threshold value that defines the distance.

Value

a positive real number between 0 and 1. Where 0 is the maximum similarity and 1 the maximum dissimilarity.

References

for more details read the ”TSdist' package documentation


juancbellass/time-series-r-package documentation built on Aug. 26, 2023, 8:06 p.m.