Learn R Programming

ddgraph (version 1.16.0)

biased.graph: Generate random network with degree distribution

Description

Generate a random directed graph with the given node ordering and degree distribution

Usage

biased.graph(nodes, in.degree.distr)

Arguments

nodes
character vector of node names which species the node ordering
in.degree.distr
the node in-degree distribution

Value

Examples

Run this code
biased.graph(letters[1:5], c(0, 1, 1, 2, 2))

Run the code above in your browser using DataLab