corw | R Documentation |
Uses weighted regression to compute pairwise correlation matrix on input matrix - by columns.
corw(mat, weights)
mat |
input matrix |
weights |
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))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.