[R] Errors bar in barchart
Deepayan Sarkar
deepayan.sarkar at gmail.com
Sat May 3 00:58:54 CEST 2008
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
More information about the R-help
mailing list