[R] Trellis plot in multiple display with grid
Marco Chiarandini
machud at inferenzsysteme.informatik.tu-darmstadt.de
Sun Mar 21 22:24:13 CET 2004
> This is from Hmisc, right ? I'm not too familiar with it. But I don't
> see the link with the previous example. What exactly is wrong with
> this ? Do you want to use a 'groups' argument ?
Yes, it is from Hmisc but it requires Lattice and it works with Trellis.
I would like that in each of the displays, which are plotted according to
"class", some vertical lines appear. This vertical lines should be in
correspondence of "y,lower,upper".
I don't know if I need to specifies groups. I tried, but it does not help.
I tried using the part that below is commented but I get an error
message concering missing groups...
> > Dotplot(as.factor(alg) ~ Cbind(y,lower,upper) | class,
> > data=all,subset=ss,
> > pch=3,method="bars",pch.bar=2,
> > # panel=function(x,y,...) {
> > # panel.abline(v=y)
> > # panel.superpose(x,y,...)
> > # },
> > scales = list(cex=1,
> > x=list(relation="free"),
> > y=list(alternating=c(1,1,1,1),
> > labels=c(levels(all$alg)),
> > at=c(1:nlevels(all$alg)))),
> > main=list(cex=1.3,label="Multiple comparisons with Tukey's
> > confidence intervals"),
> > xlab=list(label="Percentage deviation from best
> >
> > results",cex=1.3,between.columns=5,distance=rep(2,60),size=3),
> > ylab="",
> > aspect=0.6,as.table=TRUE);
>
>
>
--
Marco Chiarandini, Fachgebiet Intellektik, Fachbereich Informatik,
Technische Universität Darmstadt, Alexanderstrasse 10,
D-64283 Darmstadt - Germany, Office: S1/15 Raum 118
Tel: +49 (0)6151 16-6802 Fax: +49 (0)6151 16-5326
email: machud at intellektik.informatik.tu-darmstadt.de
web page: http://www.intellektik.informatik.tu-darmstadt.de/~machud
More information about the R-help
mailing list