Compute edge-level distributions for directed networks with respect to desired assortativity level(s).
get_eta_directed(
edgelist,
target.assortcoef = list(outout = NULL, outin = NULL, inout = NULL, inin = NULL),
eta.obj = function(x) 0,
which.range,
control = cvxr_control()
)Assortativity coefficients and joint distributions. If
which.range is specified, the range of the interested coefficient
and the corresponding joint distributions will be returned, provided the
predetermined target.assortcoef is satisfied.
A two-column matrix representing the directed edges of a network.
A list representing the predetermined value or range of assortativity coefficients.
A convex function of eta to be minimized when
which.range is NULL. Defaults to 0.
Character, "outout", "outin", "inout" or "inin"s, represents the interested degree based assortativity coefficient.
A list of parameters passed to CVXR::solve() when
solving for eta or computing the range of assortativity coefficient.