wdnet object from input data.This function creates a wdnet object from edgelist and
edgeweight or adj or returns the existing wdnet object.
For internal usage.
create_wdnet(
netwk,
edgelist,
edgeweight,
nodegroup,
directed,
adj,
weighted,
...
)A wdnet object.
A wdnet object. If NULL, the function will use the
provided edgelist and edgeweight, or adj parameters to
create a new wdnet object.
A two-column matrix representing edges.
A vector representing the weights of the edges.
A numeric vector of node groups.
A logical value indicating whether the network is directed.
Required if netwk is NULL.
An adjacency matrix.
A logical value indicating whether the network is weighted.
Additional components to be added to the wdnet list.