Re: [R] shading an area in a edf

2008-07-08 Thread Ray Brownrigg
On Tue, 08 Jul 2008, squall44 wrote: > Hi, > > 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) > plot(F2.5, > verticals= TRUE, > do.p = TRUE, > lwd=3, > ylab = "", > xlab = "", > xlim = c(1,5.5)) > abline(h= (0:5)*

[R] shading an area in a edf

2008-07-08 Thread squall44
Hi, 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) plot(F2.5, verticals= TRUE, do.p = TRUE, lwd=3, ylab = "", xlab = "", xlim = c(1,5.5)) abline(h= (0:5)*0.2) #mean abline(v=mean(x), lwd=2) mtext(text=expression(bar(x