Hi,

I m a new user of R. I need to plot distribution of some computed
centrality metrics of my network.
I used ecdf to compute the cumulative distribution of degrees and then
plotted the resultat. However, i got a different distribution from the one
computed using the degree.distribution function from the igraph package !?
Can you help me figure out which of them is the correct one. The two plots
are joined to this mail.

#The degree Vector of the graph's nodes
dd<-degree(graph)

#degree distribution with igraph
dist<-degree.distribution(graph, cumulative=TRUE)

#degree distribution with ecdf
decdf<- ecdf(degree(dd)



-- 
Cordialement,
Nourhène ALAYA
Ingénieur Informatique,
Doctorant à la faculté des sciences de Tunis,
Doctorant à l'université de Paris 8
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to