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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to