moments: Computation of graph moments of a network

View source: R/mukherjee.R

momentsR 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)

graphclust documentation built on June 7, 2023, 5:18 p.m.