nwset & nwsummarize for undirected networks

142 views
Skip to first unread message

Bas Hofstra

unread,
Sep 9, 2015, 11:16:36 AM9/9/15
to nwcommands

Dear Thomas Grund,

Recently I have been playing around with nwcommand and I like it very much! I also encountered a problem (but it might be my fault).

When I use the following code:

.    nwset v1 v2, edgelist undirected name(net1)
 .   nwsummarize net1, detail

I get the following output:

.   Network name: net1
.   Network id: 1
.   Directed: true
.   Nodes: 838
.   Arcs: 47255
.   Minumum value: 0
.   Maximum value: 1
.   Density: .0673
.   Reciprocity: 0
.   Transitivity: .92107
.   Betweenness centralization: .0093
.   Indegree centralization: .2674
.   Outdegree centralization: .3045

My output still shows the statistics for a directed network. For some statistics I can just multiply by 2 (e.g., density), but I'm not sure if this also goes for the rest of the statistics. Is there a way to let nwsummarize show the statistics for undirected networks?

Best,

Bas Hofstra

Reply all
Reply to author
Forward
0 new messages