Pearsons.Measure: PEARSON MEASURE

View source: R/Similarity_indices.R

Pearsons.MeasureR Documentation

PEARSON MEASURE

Description

Computes the Pearson correlation between two numerical vectors and return the result of 1-abs(Person).

Usage

Pearsons.Measure(s1, s2)

Arguments

s1

a numeric vector containing the first time series.

s2

a numeric vector containing the second time series.

Value

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


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