Description Usage Arguments Value Examples
Removes the weights of all connections
1 | remove_weights(x, ...)
|
x |
Either a 'network', 'network_module', or 'matrix' object. |
... |
Additional arguments. |
The modified object.
1 2 3 4 5 6 7 | # Create a random network with 10 nodes and add random edge weights.
nw <- random_network(10)
nw <- gen_partial_correlations(nw)
is_weighted(nw)
# Remove the edge weights from the network.
nw <- remove_weights(nw)
is_weighted(nw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.