ghypernet (version 1.0.0)

ComputeXi: Auxiliary function. Computes combinatorial matrix.

Description

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

Usage

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

Run this code
# NOT RUN {
data('adj_karate')
xi = ComputeXi(adj_karate, directed = FALSE, selfloops = FALSE)

# }

Run the code above in your browser using DataCamp Workspace