Description Usage Arguments Value Note Author(s) References Examples
The symmetrise_w-function creates an undirected one-mode network from a directed one-mode network.
1 | symmetrise_w(net, method="MAX")
|
net |
A one-mode network |
method |
the method used to decide the weight of the undirected edge. It can be: "MAX" sets the weight to the maximum of the weight(s) of the arc(s) "MIN" sets the weight to the minimumof the weight(s) of the arc(s) "AMEAN" sets the weight to the average (arithmetic mean) of the weight(s) of the arc(s) "SUM" sets the weight to the sum of the weight(s) of the arc(s) "PROD" sets the weight to the product of the weight(s) of the arc(s) "DIFF" sets the weight to the absolute difference between the weight(s) of the arc(s) |
Returns the undirected network
version 1.0.0
Tore Opsahl; http://toreopsahl.com
http://toreopsahl.com/2008/11/28/network-weighted-network/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Loading required package: igraph
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
Loading required package: survival
tnet: Analysis of Weighted, Two-mode, and Longitudinal networks.
Type ?tnet for help.
i j w
[1,] 1 2 4
[2,] 1 3 2
[3,] 2 1 4
[4,] 2 3 4
[5,] 2 4 1
[6,] 2 5 2
[7,] 3 1 2
[8,] 3 2 4
[9,] 4 2 1
[10,] 5 2 2
[11,] 5 6 1
[12,] 6 5 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.