[R] CI wiskers

Jim Lemon jim at bitwrit.com.au
Sat Jul 25 12:22:10 CEST 2009


mfreidin wrote:
> I have a matrix containing means and CIs (lower and upper in two columns, so
> three columns for every data point) for several points. I have to build a
> graph of these means accompained by the CIs (as wiskers). No problems with
> making the graph of means, but I don't know how to introduce CIs. 
>
> Can anybody advise?
>   
Hi mfreidin,
The dispersion function in the plotrix package does this, and even 
handles those annoying situations when the CIs are very small and throw 
a "zero length arrow" error.

Jim




More information about the R-help mailing list