net_weighted | R Documentation |
A link is created for each pair of nodes, except if the distance is maximum (1). In network science, stronger links are commonly represented by high values. For this reason, the link weights returned are 1 - D.
net_weighted(D, invert_dist_as_weight = TRUE)
D |
Distance matrix. All values must be between [0,1]. |
invert_dist_as_weight |
Boolean, if weighted == TRUE, then the weights become 1 - distance. This is the default behavior since most network measures interpret higher weights as stronger connection. |
Fully connected network
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.