compute_xi: Auxiliary function. Computes combinatorial matrix.

Description Usage Arguments Value Examples

View source: R/computexi.R

Description

Combinatorial matrix computed according to soft configuration model or 'regular' gnp model.

Usage

1
2
3
compute_xi(adj, directed, selfloops, regular = FALSE)

ComputeXi(adj, directed, selfloops, regular = FALSE)

Arguments

adj

adjacency matrix

directed

boolean, whether the model is for a directed network

selfloops

boolean, whether the model contains selfloops

regular

boolean. Is the combinatorial matrix computed for configuration model or for regular gnp model? default FALSE.

Value

combinatorial matrix

Examples

1
2
data('adj_karate')
xi = compute_xi(adj_karate, directed = FALSE, selfloops = FALSE)

ghypernet documentation built on Oct. 15, 2021, 5:14 p.m.