[R] Plot means with error bars - A novice needs help
jim at bitwrit.com.au
Wed Oct 8 11:57:20 CEST 2008
Michael Just wrote:
> I'd appreciate a suggestion on how to construct plots (barplots?) that use
> means on the Y axis instead of density/count. I'd also like to use groups
> and plot error or confidence interval bars on these graphs. I know this is a
> read the manual situation. I'd appreciate help with what to read, or your
> benevolence with some sample code.
> I've looked at lattice and gplots2, but given my beginner status my efforts
> are not propelling me very far.
Have a look at the barp function in the plotrix package. You can add
error bars using the dispersion or dispbars function.
More information about the R-help