simulate_adjacency: Simulate an adjacency matrix

Description Usage Arguments Value

Description

Simulate an adjacency matrix

Usage

1
simulate_adjacency(n, K, alpha, pi, directed = FALSE)

Arguments

n

an integer: the number of nodes

K

an integer: the number of cluster

alpha

a matrix:

pi

a vector of size K: the mixture parameter

directed

Wether the graph is directed or not

Value

A n*n adjacency matrix


Chabert-Liddell/nineja documentation built on May 9, 2019, 2:32 p.m.