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? Thanks in advance Bernardo Rangel Tura, MD, PhD National Institute of Cardiology Laranjeiras Rio de Janeiro Brazil
As the warnings (not errors) suggest, the error bars are just too small to plot. On 24/09/06, Bernardo Rangel tura <tura@centroin.com.br> 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? > > > Thanks in advance > > Bernardo Rangel Tura, MD, PhD > National Institute of Cardiology Laranjeiras > Rio de Janeiro Brazil > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- ================================David Barron Said Business School University of Oxford Park End Street Oxford OX1 1HP [[alternative HTML version deleted]]
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