powered by
Pearson distance is (1-r^2)
dCenteredPearson(x, y)
numeric vector
pearson distance between x and y
Important: this function assumes that data has been centered i.e. that mean(x) = mean(y) = 0