wcor function

Weighted correlations

Weighted correlations

wcor(d1, d2, w = rep(1, nrow(d1))/nrow(d1))

Arguments

  • d1: First Vector
  • d2: Second vector to correlate
  • w: weights for ecah element of the vectors

Details

Weighted correlations

Returns

Weighted correlation

Author(s)

Jose Luis Vicente Villardon

  • Maintainer: Jose Luis Vicente Villardon
  • License: GPL (>= 2)
  • Last published: 2023-11-21

Useful links