moments | R Documentation |
Computation of graph moments of a network
moments(A, k = 3)
A |
adjacency matrix |
k |
order of the largest graph moments to be considered |
vector with the first k (normalized) graph moments of the network A
param <- list(R = 500, alpha = .04, beta = .02, deltaIn = 100, deltaOut = 100)
A <- sampleDPA(param)
moments(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.