randomGraph {SELF}R Documentation

Generate a random graph

Description

Generate a random graph based on the given dimension size and average indegree

Usage

randomGraph(dim, indegree, maxite = 10000)

Arguments

dim

The dimension of the random graph

indegree

The average indegree of random graph for each nodes

maxite

The maximum iterations to find the random graph

Value

Return a random graph

Examples

randomGraph(dim=10,indegree=1)

[Package SELF version 0.1.1 Index]