[Top][All Lists]

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

[igraph] ENC: Network Centralization Measure

From: Carlos Eduardo
Subject: [igraph] ENC: Network Centralization Measure
Date: Sun, 11 Sep 2011 15:29:11 -0300

Hi Minh,

Thanks for your answer. Allow me to ask a little bit more.

I just begun my learning about how to use igraph and I am not familiarized
with some command syntax.

To the command "igraph_degree" is informed (igraph_degree(const igraph_t
*graph, igraph_vector_t *res, const igraph_vs_t vids, igraph_neimode_t mode,
igraph_bool_t loops).

Being my graph name "g", in short I understood the syntax as follow:
igraph_degree (g, res, vids, mode, loops). 

I don't know what to replace in the fields "res" and "vids". 

I tried the follow simplified commands (but they didn't work):  

igraph_degree(g, IGRAPH_ALL, FALSE)

Ps.: The network I am trying this command follows attached (rda format). 

All the best,

-----Mensagem original-----
De: Minh Nguyen [mailto:address@hidden Enviada em: domingo, 11 de
setembro de 2011 06:08
Para: Help for igraph users
Cc: Carlos Eduardo
Assunto: Re: [igraph] Network Centralization Measure


On Sun, Sep 11, 2011 at 11:33 AM, Carlos Eduardo <address@hidden>
> After calculating each vertex measures - (a) centralization degree, 
> (b) betweenness, (c) closeness - the software reports the network 
> centralization (in percentage - %) to each one of this measures.
> Is there any command or math formula to do this through "igraph"?

Yes. Check out the documentation of version 0.5.4 of the igraph C library at


The latest development version has library functions following the name

Minh Van Nguyen

Attachment: g.rda
Description: Binary data

reply via email to

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