[R] shading an area in a edf

From: squall44 <tobias.minder_at_bluewin.ch>
Date: Tue, 08 Jul 2008 01:14:27 -0700 (PDT)


I've got the following edf:


x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) F2.5 <- ecdf(x)

     verticals= TRUE,
     do.p = TRUE,
     ylab = "",
     xlab = "",
     xlim = c(1,5.5))

abline(h= (0:5)*0.2)


abline(v=mean(x), lwd=2)
mtext(text=expression(bar(x) == 3.07), side=1, adj=0.462, padj=3, cex=1)


Now I would like to shade the two areas:


Is it possible to do this without too much effort? Thanks for any suggestion


View this message in context: http://www.nabble.com/shading-an-area-in-a-edf-tp18334136p18334136.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 Tue 08 Jul 2008 - 11:46:21 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 Tue 08 Jul 2008 - 22:31:28 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