[R] Plotting Mean in plotting degree distribution

From: kparamas <kparamas_at_asu.edu>
Date: Thu, 03 Mar 2011 14:43:37 -0800 (PST)


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 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.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 03 Mar 2011 - 23:33:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 04 Mar 2011 - 03:00:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive