On Oct 25, 2012, at 2:45 PM, Johnson, Franklin Theodore wrote:
> Hello R-help,
>
>
>
> I am using R version 2.15.1.
>
> I upgraded from R version 2.13 a few months back.
>
>
>
> Previously, I was able to plot error bars on an xy scatter plot using the
> errbar function:
>
> errbar(RAEthylene$TIME,RAEthylene$AVE,RAEthylene$AVE+RAEthylene$STD,RAEthylene$AVE-RAEthylene$STD,add
> = TRUE,lty=2,pch=17);
>
>
>
> Today, I went to update my plot.
>
> However, in R version 2.15.1 I get error code saying that this function
> cannot be found:
>
> Error: could not find function "errbar"
>
> I would perfer to avoid using the xy.error.bars<-function(x, y, xbar, ybar)
> coding for these error bars, as I have many data to put on one plot.
>
> I've searched the .pdf file for R 2.15.1 version and cannot find any updates
> for this function.
>
> Do I have to reinstall version 2.13 again??
There is no base::errbar function. You probably were using a package and have
not yet reinstalled that package under the new version of R. When I run
sos::findFn('errbar') I see two packages (Hmisc and sfsmisc) with a function of
that name.
--
David Winsemius, MD
Alameda, CA, USA
______________________________________________
[email protected] 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.