wcor: Weighted correlations
Description
Weighted correlations
Usage
wcor(d1, d2, w = rep(1, nrow(d1))/nrow(d1))
Value
Weighted correlation
Arguments
- d1
First Vector
- d2
Second vector to correlate
- w
weights for ecah element of the vectors
Author
Jose Luis Vicente Villardon
Details
Weighted correlations