[R] Plotting Mean in plotting degree distribution

kparamas kparamas at asu.edu
Thu Mar 3 23:43:37 CET 2011


I am plotting degree distribution of a graph using the function,

dd1 = degree.distribution(G)

plot(dd1, xlab = "degree", ylab="frequency")

I would like to plot the mean of the distribution as a vertical line in the
attached plot.
Please let me know how to do this.

Kumar http://r.789695.n4.nabble.com/file/n3334375/cdata3_dd.png

View this message in context: http://r.789695.n4.nabble.com/Plotting-Mean-in-plotting-degree-distribution-tp3334375p3334375.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list