Description Usage Arguments Value Examples
Calculates the social correlation matrix for a given network
1 2 | social.cor.matrix(A, max.depth = nrow(A), n.pilot = 5000,
n.estimate = 10000)
|
A |
a (possibly weighted) adjacency matrix. |
max.depth |
the maximum length of the paths to use. |
n.pilot |
parameter to be passed to |
n.estimate |
parameter to be passed to |
The calculated social correlation matrix.
1 2 3 4 5 6 | A = matrix(c(0,1,0,1,0,
1,0,0,1,1,
0,0,0,1,1,
1,1,1,0,0,
0,1,1,0,0), nrow=5)
S = social.cor.matrix(A)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.