Re: [R] plot different groups as factors

2013-12-21 Thread Duncan Mackay
t;low","medium","high")),dat, hor=F, layout = c(3,1) , groups = factor(time), col = c("black","red") ) HTH Duncan From: Luigi Marongiu [mailto:marongiu.lu...@gmail.com] Sent: Saturday, 21 December 2013 03:32 To: Duncan Mackay Subject: Re: [R

Re: [R] plot different groups as factors

2013-12-19 Thread Duncan Mackay
Hi Luigi A quick guess with lattice library(lattice) structure(list(time = c(18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,

Re: [R] plot different groups as factors

2013-12-18 Thread Jim Lemon
On 12/19/2013 11:18 AM, Luigi Marongiu wrote: dear all, i would like to plot the value of different response groups. when i simply use plot(y ~ x) i obtain a series of boxplots. i would rather use dots. i also tried with stripchart(y ~ x), which gives better results but does not place properly t