Re: [R] Fraction ECDF

2007-07-10 Thread livia
Thank you very much. Duncan Murdoch-2 wrote: > > On 7/10/2007 10:36 AM, livia wrote: >> Hi all, >> >> I would like to plot part of the emperical CDF. Suppose the variable is >> x, I >> just need the part when x>1,therefore, I am using the following codes. >> >> tail <- x>1 >> plot(ecdf(x[tai

Re: [R] Fraction ECDF

2007-07-10 Thread Duncan Murdoch
On 7/10/2007 10:36 AM, livia wrote: > Hi all, > > I would like to plot part of the emperical CDF. Suppose the variable is x, I > just need the part when x>1,therefore, I am using the following codes. > > tail <- x>1 > plot(ecdf(x[tail]), do.points=FALSE, verticals=TRUE) > > The "x" value starts

[R] Fraction ECDF

2007-07-10 Thread livia
Hi all, I would like to plot part of the emperical CDF. Suppose the variable is x, I just need the part when x>1,therefore, I am using the following codes. tail <- x>1 plot(ecdf(x[tail]), do.points=FALSE, verticals=TRUE) The "x" value starts from 1, but the yaxs still begins from 0, not the co