igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] want to plot degree distribution


From: Tamás Nepusz
Subject: Re: [igraph] want to plot degree distribution
Date: Mon, 30 Sep 2013 22:39:25 +0200

Hi,

There's a bug in the degree.distribution() function with R 3.0.0 and above; 
maybe you have encountered that. See this earlier email on the mailing list:

https://lists.gnu.org/archive/html/igraph-help/2013-09/msg00000.html

All the best,
Tamas

On 30 Sep 2013, at 22:18, Swati Sinha <address@hidden> wrote:

> Hello All
> 
> I have a huge connections file in "NCOL" format, which looks like this
> a  b  w1
> a   c  w2
> a  d  w3
> b  e  w4
> b  f   w5
> and so on, where first two columns are the vertices and third column is the 
> edge weight.
> 
> I want to look for the degree distribution of this network. I am reading the 
> graph as :
> > g<-read.graph("links.txt", format ="ncol")
> 
> Will a simple command given below works for it
> >degree.distribution(g)
> 
> I tried running the example from the tutorial which is
> g2<-erdos.renyi.game(1000,10/1000)
> degree.distribution(g2)
> 
> BUT, this gives the output as NULL.
> 
> Any help.
> 
> SWATI
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help




reply via email to

[Prev in Thread] Current Thread [Next in Thread]