Re: [R] colour coded dotchart

2013-06-08 Thread Rolf Turner
On 09/06/13 01:21, Marco Bianchi wrote: Dear R-Users, I have a vector x <- 1:10 and I would like to produce a dotchart where the colour of the dot is black if x <= 5 and red otherwise. If I use x <- 1:10 dotchart(x, col="black") then all dots are obviously of black colour. Has anybody in the

[R] colour coded dotchart

2013-06-08 Thread Marco Bianchi
Dear R-Users, I have a vector x <- 1:10 and I would like to produce a dotchart where the colour of the dot is black if x <= 5 and red otherwise. If I use x <- 1:10 dotchart(x, col="black") then all dots are obviously of black colour. Has anybody in the mailing list already dealt with a similar