[R] plotCI

Jim Lemon jim at bitwrit.com.au
Mon Sep 25 04:02:49 CEST 2006


Bernardo Rangel tura wrote:
> Hi R masters!
> 
> 
> I need a Help with plot confidence intervals  for one equation. I use 
> library gplots and plotCI command in this script:
> 
> require(gplots)
> 
> ano <-1980:2002
> 
> rf<-exp(91.37162-0.04720281*ano)
> 
> ciw.f<-sqrt(1.766073e-08)
> 
> plotCI(ano,rf,uiw=ciw.f)
> 
> 
> 
> But in the graph not shown the errors bar and  I have this error msg
> 
> zero-length arrow is of indeterminate angle and so skipped
> 
> 
> Well, where is my eror?
> 
Hi Bernardo,

As David Barron said, the error bars are very small. However, the plotCI 
function in the plotrix package will produce a graph for you.

Jim



More information about the R-help mailing list