Get correlation between two signatures

get_cor(b1, b2, window, b1.left, lag)

Arguments

b1

dataframe

b2

dataframe

window

width of the window (in indices) to consider for matching

b1.left

left index location of the matching window

lag

integer lag for the second window