TempAbsDissimilarity {knnwtsim}R Documentation

Temporal Absolute Dissimilarity

Description

Simply takes the absolute difference between two points, meaning points close in time will have smaller dissimilarity. This is equivalent to Euclidean Distance.

Usage

TempAbsDissimilarity(p1, p2)

Arguments

p1

numeric value representing the time order of the point in the response series.

p2

numeric value representing the time order of the point in the response series.

Value

numeric value of the absolute difference between p1 and p2.

Examples

TempAbsDissimilarity(1, 3)

[Package knnwtsim version 1.0.0 Index]