Learn R Programming

resemble (version 2.2.3)

moving_cor_diss: Moving/rolling correlation distance of two matrices

Description

Computes a moving window correlation distance between two data matrices

Usage

moving_cor_diss(X,Y,w)

Value

a matrix of correlation distance

Arguments

X

a matrix

Y

a matrix

w

window size (must be odd)

Author

Leonardo Ramirez-Lopez and Antoine Stevens