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
Dear R users,
I am trying to use xyplot to draw group mean and CI. The following is the
sample code. 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
I am showing two alternatives, both from the HH package.
install.packages(HH)
The first one does essentially what you request,
smithdata - src[c(x, trt)]
smithdata$timefactor - factor(src$time)
position(smithdata$timefactor) - as.numeric(levels(smithdata$timefactor))
position(smithdata$trt) -
3 matches
Mail list logo