dprewire_directed_cpp | R Documentation |
Degree preserving rewiring process for directed networks.
dprewire_directed_cpp(
iteration,
nattempts,
tnode,
sout,
sin,
tout,
tin,
index_s,
index_t,
eta,
rewire_history
)
iteration |
Integer, number of iterations for rewiring attempts. |
nattempts |
Integer, number of rewiring attempts per iteration. |
tnode |
Vector, target node sequence - 1. |
sout |
Vector, source nodes' out-degree. |
sin |
Vector, source nodes' in-degree. |
tout |
Vector, target nodes' out-degree. |
tin |
Vector, target nodes' in-degree. |
index_s |
Index of source nodes' out- and in-degree.
|
index_t |
Index of target nodes' out- and in-degree. |
eta |
Matrix, target structure eta generated by
|
rewire_history |
Logical, whether the rewiring history should be returned. |
Returns target node sequence, four directed assortativity coefficients after each iteration, and rewire history.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.