Description Usage Arguments Value References Examples
Creates an unweighted 'network' object containing randomly generated modules.
1 | random_network(p, n_modules = NULL, ...)
|
p |
The number of nodes in the network. If | |||||||||||||||||||||||
n_modules |
The number of modules to include in the network. If
| |||||||||||||||||||||||
... |
Arguments to be passed to other methods. Possible arguments include:
|
An unweighted network object.
grimes21SeqNet
1 2 3 4 5 6 7 | # Create a random network of 10 nodes
nw <- random_network(10)
nw
# Add a random weight to each connection.
nw <- gen_partial_correlations(nw)
# Plot the network
plot(nw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.