rpanet_bag_cpp | R Documentation |
Preferential attachment algorithm for simple situations, i.e., edge weight equals 1, each step adds one new edge.
rpanet_bag_cpp(
snode,
tnode,
scenario,
nnode,
nedge,
delta_out,
delta_in,
directed
)
snode |
Source nodes. |
tnode |
Target nodes. |
scenario |
Sequence of alpha, beta, gamma, xi, rho scenarios. |
nnode |
Number of nodes in seed network. |
nedge |
Number of edges in seed network. |
delta_out |
Tuning parameter. |
delta_in |
Tuning parameter. |
directed |
Whether the network is directed. |
Returns a list that includes the total number of nodes, sequences of source and target nodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.