dprewire_directed_cpp {wdnet} | R Documentation |
Degree preserving rewiring process for directed networks.
Description
Degree preserving rewiring process for directed networks.
Usage
dprewire_directed_cpp(
iteration,
nattempts,
tnode,
sout,
sin,
tout,
tin,
index_s,
index_t,
eta,
rewire_history
)
Arguments
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. |
Value
Returns target node sequence, four directed assortativity coefficients after each iteration, and rewire history.
[Package wdnet version 1.2.3 Index]