computeWindowedCorrelation: Compute the correlation between rows in a matrix considering...

Description Usage Arguments Value

View source: R/slidingWindowCorrelation.R

Description

Compute the correlation between rows in a matrix considering only a window. This is a helper method.

Usage

1
2
computeWindowedCorrelation(trace.mat, start.window.idx, window.size,
  score = "pearson")

Arguments

trace.mat

A numeric matrix where rows correspond to the different traces.

start.window.idx

Column index where the window starts.

window.size

Size of the window. Numeric.

score

The type of correlation to use. A string with value 'pearson' or 'diff'.

Value

The mean correlation between all traces within this window.


hafenr/MACode documentation built on May 17, 2019, 2:24 p.m.