[R] plotCI (plotrix) problem
Dieter Menne
dieter.menne at menne-biomed.de
Mon Apr 20 08:14:46 CEST 2009
Derek Ogle <DOgle <at> northland.edu> writes:
>
> I am attempting to create a plot with intervals "stretched" in the
> x-direction using plotCI() in the plotrix package. The same data
> provides an appropriate set of intervals when "stretched" in the
> y-direction but I only get a lower interval when "stretched" in the
> x-direction.
>
> nz <- abs(ui - pmin(x + gap, ui)) * y.to.in > 0.001
It's a copy-paste typo. The above line should be
nz <- (abs(ui - pmin(x + gap, ui)) * x.to.in) > 0.001
Dieter
More information about the R-help
mailing list