Re: [R] lattice: customising panel.segments using groups

2010-05-10 Thread Felix Andrews
On 9 May 2010 15:25, Ky Mathews ky.math...@sydney.edu.au wrote: Hi, I want to customise the segments on an xyplot. Below is a simple example of what I'm trying to do... #Example dataset  x - c(-0.25, 0.25, 0.8)  y - c(-0.5, 0, 0.75)  gp - c(A, I, C)  my.data -

[R] lattice: customising panel.segments using groups

2010-05-08 Thread Ky Mathews
Hi, I want to customise the segments on an xyplot. Below is a simple example of what I'm trying to do... #Example dataset x - c(-0.25, 0.25, 0.8) y - c(-0.5, 0, 0.75) gp - c(A, I, C) my.data - cbind.data.frame(x,y,gp) #setting up the parameters to customise the lines with.