Skip to content
Prev 170346 / 398506 Next

Adding abline in Lattice graph

Sorry, that was my lack of understanding on how coplot works. Try the following:

coplot(lbxglu~lbxgh|eth, data = reg.dat.5,
   panel= function(...) {
     panel.smooth(...)
     abline(h = 126, col = "red")
     abline(v = 6.5, col = "blue")
  },
  xlab="ABC", ylab="FBG")
On Thu, Feb 12, 2009 at 3:49 PM, Sundar Dorai-Raj <sdorairaj at gmail.com> wrote: