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

O1sims/networkR documentation built on May 31, 2019, 6:13 p.m.