create_wdnet | R Documentation |
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,
...
)
netwk |
A |
edgelist |
A two-column matrix representing edges. |
edgeweight |
A vector representing the weights of the edges. |
nodegroup |
A numeric vector of node groups. |
directed |
A logical value indicating whether the network is directed.
Required if |
adj |
An adjacency matrix. |
weighted |
A logical value indicating whether the network is weighted. |
... |
Additional components to be added to the wdnet list. |
A wdnet
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.