powered by
Uses weighted regression to compute pairwise correlation matrix on input matrix - by columns.
wmat<-corw( mat )
input matrix
matrix is output
# NOT RUN { mat <- matrix(c(rep(1,100),rep(0,20)),ncol=10) wcmat<-corw( mat , weights = rep(1,ncol(mat) ) ) # }
Run the code above in your browser using DataLab