Learn R Programming

NetworkToolbox (version 1.2.3)

randnet: Generates a Random Network

Description

Generates a random network

Usage

randnet(nodes, edges)

Arguments

nodes

Number of nodes in random network

edges

Number of edges in random network

Value

Returns an adjacency matrix of a random network

References

Rubinov, M., & Sporns, O. (2010). Complex network measures of brain connectivity: Uses and interpretations. Neuroimage, 52, 1059-1069. doi: 10.1016/j.neuroimage.2009.10.003

Examples

Run this code
# NOT RUN {
rand <- randnet(10, 27)

# }

Run the code above in your browser using DataLab