[R] Bug or feature in xyplot?
Hans Gardfjell
hans at eg.umu.se
Mon Jul 29 04:12:48 CEST 2002
Hi,
Can someone of you tell me why these two simple examples works as
"expected",
plot(c(1,1,2,2)~c(1,2,1,2),col=c(1,2,3,4),pch=c(1,2,3,4))
coplot(c(1,1,2,2)~c(1,2,1,2)|c("A","A","B","B"),col=c(1,2,3,4),pch=c(1,2,3,4
))
but when I try it with xyplot in the lattice package it fails.
xyplot(c(1,1,2,2)~c(1,2,1,2)|c("A","A","B","B"),col=c(1,2,3,4),pch=c(1,2,3,4
))
Do I have to specify colors and symbol types differently with lattice
functions or
is this a bug?
Thanks,
Hans Gardfjell
Ecology and Environmental Science
Umeå University, Sweden
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list