I'm trying to work the lattice xYplot function to plot confidence
intervals
for two groups on the same plot. The problem is that it automatically
labels the groups (1 and 2) on the plot itself, and the labels get
obscured
by the CI lines and make it look bad.
This is my code:
xYplot(Cbind(Mean,L95,U95) ~ jitter(Time), type='b', data=A,main="Bouts
Vs.
Time",col=c('black', 'gray'), groups=Group,title="Bouts",xlab="Time",
ylab="Bouts", method="bars", lwd=3, ylim=c(0,30))
A is the data, with columns Time, Group, Mean, L95, U95. L95 and U95 are
the lower and upper confidence interval estimates. Group is either 1 or 2,
each measured at the same number of time points.
The goal is simply to take the labels off of the plot itself. Then I can
use an auto.key to put the labels on the side.
Please help!
-Ben
[[alternative HTML version deleted]]