Re: [R] Boxplot in order

2011-05-05 Thread Dennis Murphy
Hi: Try this: karla = data.frame( Groups = factor(rep(c('CPre','SPre','C7','S7','C14','S14','C21','S21'), 11), levels = c('CPre','SPre','C7','S7','C14','S14','C21','S21')), Time = rep(c(0,7,14,21), 11), Resp = rnorm(88) ) boxplot(Resp~Groups, data = karla) Since you didn't h

[R] Boxplot in order

2011-05-05 Thread Silvano
Hi, I need construct box plot graph, but I want keep Groups order karla = data.frame( Groups = factor(rep(c('CPre','SPre','C7','S7','C14','S14','C21','S21'), 11)), Time = rep(c(0,7,14,21), 11), Resp = valor ) boxplot(Resp~Groups, order=T) doesn't work. How do this? -