Dear All,
   
  I am wondering on how to use the abline.xyplot with xyplot such that I will have different vertical lines for each panel. More sepcifically, suppose that the xyplot generates 4 panels defined by the combination of two binary variables: X_1 and X_2. i.e. 
   
  xyplot(Y ~ Z | X_1*X_2, data = df) 
   
  I want something like: 
   
  abline(v = 5)  if X_1=0 and X_2 = 0 
  abline(v = 10)  if X_1=0 and X_2 = 1
  abline(v = 15) if X_1=1 and X_2 = 0
  abline(v = 31) if X_1=1 and X_2 = 1
   
  when I used : xyplot(Y ~ Z | X_1*X_2, data=df, panel = function(x,y) {panel.xyplot(x,y) panel.abline(v=70)}) it produces the same vertical line in the four panels.
   
  Thanks a lot,
   
  Bernard
   
   
   
   
   
   

 __________________________________________________



	[[alternative HTML version deleted]]

