Hi all,
thank for the answers to all of my questions previously posted.
I need to compare both binary and weighted network indexes from a real
multiple directed network - with loops - to random ones.
Thus, I was thinking ot generate some thousands of random graphs and then to
look at the distribution of the average indexes' values, keeping constant
the number of vertices and edges (163 and 573, respectively). This should be
enough right now.
While for the binary version of my network I was thinking to use:
randomgraph<-erdos.renyi.game(163, 573, type=c("gnm"), directed=TRUE,
loops=TRUE)
I don't know how do to it with the weighted network, is ot say, how to
randomly distribute weights belonging to a set range (i.e.ranging from 0 to
1 billion).
Also, I was wondering if this function to iterate the random graph
generation and storing the average node degree (ND), is correct or not.
nodeDegree<-array()
for (i in 1:3000){
randomgraph<-erdos.renyi.game(163, 573, type=c("gnm"),
directed=TRUE, loops=TRUE)
nodeDegree[i]<-mean(degree(graph))
}
Thanks a lot,
P.s. I've seen that the on line tutorial is growing, thank you.
Umberto
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it: http://www.email.it/f
Sponsor:
Cesenatico Pasini Hotels Solo per questa settimana imperdibile offerta All
Inclusive all' Hotel Stacchini al prezzo di 410 Euro, tantissimi sconti
anche sui bambini!!!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12478&d=20120723
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Per soggiorni dal 28 luglio al 5 agosto a Riccione all'Hotel Ambasciatori. Un
bimbo gratis fino a 6 anni. Mezza pensione, 2 Biglietti validi 2 giorni per
l'ingresso ad Oltremare o Aquafan. 7 giorni Euro 840,00 anzichè Euro 930,00 a
persona
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12499&d=23-7
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help