randomGraph: Generate a random network

Description Usage Arguments Examples

Description

The function generates a randomly connected network.

Usage

1
randomGraph(n, p, undirected)

Arguments

n

The number of nodes to be present within the network.

p

The probability that any two nodes are connected together.

undirected

should the randomly generated network be undirected? TRUE or FALSE.

Examples

1

OwenSims/networkR documentation built on May 7, 2019, 11:47 p.m.