[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Betweeness Centrality vs Node Degree plot
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] Betweeness Centrality vs Node Degree plot |
Date: |
Sat, 4 Jul 2009 17:43:30 +0200 |
Hi Anupam,
if you want a separate 'dot' for each vertex:
> bet <- betweenness(g)
> deg <- degree(g)
> plot(deg,bet)
if you want to plot the mean betweenness versus the degree:
> bet.vs.deg <- tapply(bet, deg, mean)
> plot(names(bet.vs.deg), bet.vs.deg)
Best,
Gabor
On Sat, Jul 4, 2009 at 5:18 PM, anupam sinha<address@hidden> wrote:
> Hi all ,
> I want to plot a graph of Betweeness Centrality vs the Node
> degree.How do I go about it ?? Any help is appreciated.
>
>
>
>
> Thanks and regards,
>
> Anupam Sinha
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
--
Gabor Csardi <address@hidden> UNIL DGM