Re: [R] Direction and scaling of cumulative distribution in ecdfplot

2010-03-15 Thread Jeff Stevens
Hi Ken, Many thanks for the solution to plotting the log-log scale cumulative distribution function Pr(X>=x). With a minor tweak (adding scales argument) and renaming to fit your example, it worked. x <- c(0.23, 0.09, 0.05, 0.02, 0.38, 1, 0.04, 0.01, 0.17, 0.04, 0.01, 0.17, 0.5) F <- c(re

Re: [R] Direction and scaling of cumulative distribution in ecdfplot

2010-03-14 Thread Ken Knoblauch
Jeff Stevens googlemail.com> writes: > I have two questions regarding the ecdfplot function in the > latticeExtra package. > 1. How can I plot the fraction of values >= x rather than <=x, like > the what = "1-F" argument in the Ecdf function in the Hmisc package? > > 2. When I try to log-transfor

[R] Direction and scaling of cumulative distribution in ecdfplot

2010-03-14 Thread Jeff Stevens
I have two questions regarding the ecdfplot function in the latticeExtra package. 1. How can I plot the fraction of values >= x rather than <=x, like the what = "1-F" argument in the Ecdf function in the Hmisc package? 2. When I try to log-transform the y-axis, I get a warning that it can't have