[R] lattice panel.abline use

jjap jean.plamondon at fpinnovations.ca
Fri Aug 12 17:40:41 CEST 2011


Dear R-users,

I am unsuccessful in trying to add an horizontal line to all graphs in the
example below:

library(lattice)
val<-runif(15)
x<-rep(seq(1:5),3)
type<-c(rep("a",5), rep("b",5), rep("c",5))

xyplot(val ~ x | type, panel.abline(h=.6))

Any hints are appreciated.
Best regards,

---Jean



--
View this message in context: http://r.789695.n4.nabble.com/lattice-panel-abline-use-tp3739693p3739693.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list