[R] use xyplot to plot mean and CI by groups
csrabak
crabak at acm.org
Wed May 30 15:20:59 CEST 2012
Em 29/5/2012 17:42, John Smith escreveu:
> Dear R users,
>
> I am trying to use xyplot to draw group mean and CI. The following is the
> sample code.
[attached code snipped]
Did you try the plotmeans function from the gplots package?
> But I want:
>
> 1. Use different colors and symbols to draw individual points, CI and
> the lines connect group means from different time points;
> 2. Add jitters to x axis to allow CIs not be overlapped
>
Both of these two requirements are covered in the options of the
plotmeans function.
HTH
--
Cesar Rabak
More information about the R-help
mailing list