corw.Rd
Uses weighted regression to compute pairwise correlation matrix on input matrix - by columns.
corw(mat, weights)
input matrix
input weights, size of nrow of matrix
matrix is output
Avants BB
mat <- matrix(rnorm(100), nrow = 10) wcmat <- corw(mat, weights = abs(nrorm(nrow(mat))))