SeasonalAbsDissimilarity {knnwtsim} | R Documentation |
Seasonal Absolute Dissimilarity
Description
Calculate seasonal dissimilarity measure between the respective seasonal period two points, given the number of periods in one full seasonal cycle.
Usage
SeasonalAbsDissimilarity(p1, p2, nPeriods)
Arguments
p1 |
numeric value representing a seasonal period. |
p2 |
numeric value representing a seasonal period. |
nPeriods |
numeric value representing the maximum value |
Value
numeric value of the seasonal dissimilarity between p1
and p2
.
See Also
Trupiano (2021) arXiv:2112.06266 for information on the formulation of this seasonal dissimilarity measure.
Examples
SeasonalAbsDissimilarity(1, 4, 4)
[Package knnwtsim version 1.0.0 Index]