compute_features | R Documentation |
This function computes features for each network using graph theoretic constructs.
compute_features(gr, attributes = FALSE, attr_name = NULL, fast = FALSE)
gr |
The network or graph as an |
attributes |
If the network nodes/vertices have attributes, then |
attr_name |
The name of the node/vertex attribute. Only a single attribute can be specified. |
fast |
If set to |
A network features object containing 20 graph-theoretic features.
set.seed(1)
gr <- igraph::erdos.renyi.game(100, 0.05)
compute_features(gr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.