powered by
Computation of graph moments of a network
moments(A, k = 3)
vector with the first k (normalized) graph moments of the network A
adjacency matrix
order of the largest graph moments to be considered
param <- list(R = 500, alpha = .04, beta = .02, deltaIn = 100, deltaOut = 100) A <- sampleDPA(param) moments(A)
Run the code above in your browser using DataLab