moments {graphclust}R Documentation

Computation of graph moments of a network

Description

Computation of graph moments of a network

Usage

moments(A, k = 3)

Arguments

A

adjacency matrix

k

order of the largest graph moments to be considered

Value

vector with the first k (normalized) graph moments of the network A

Examples

param <- list(R = 500, alpha = .04, beta = .02, deltaIn = 100, deltaOut = 100)
A <- sampleDPA(param)
moments(A)

[Package graphclust version 1.3 Index]