Re: [R] Errors bar in barchart

From: Deepayan Sarkar <deepayan.sarkar_at_gmail.com>
Date: Fri, 02 May 2008 15:58:54 -0700

On 5/2/08, Ronaldo Reis Junior <chrysopa_at_gmail.com> wrote:
> Hi,
>
> I user barplot2 to make a plot bar with errors bars. In old times I needed to
> use a sequence of segments commands to make this.
>
> Now I try to make the same but using lattice. Is possible to use barplot2 in
> barchart function?
>
> If not, what is the simplest way to put errors bar in barchart? I try to find
> an example in Lattice book, but dont find anythink like this.

No there isn't.

I don't like the idea of error bars on bar charts, and I would suggest you use them with dot plots instead. There is a demo of this that you can run using

> demo("intervals", package = "lattice")

-Deepayan



R-help_at_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. Received on Fri 02 May 2008 - 23:02:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 04 May 2008 - 14:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive