Re: [R] plot average from aggregated data

2014-03-16 Thread Duncan Mackay
- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Luigi Marongiu Sent: Monday, 17 March 2014 04:27 To: r-help@r-project.org Subject: [R] plot average from aggregated data Dear all, I was trying to plot the average of different variables at the same tim

Re: [R] plot average from aggregated data

2014-03-16 Thread arun
Hi, Try: plot(copy~as.numeric(stimulation),data=AVG,xaxt="n",xlab="stimulation") axis(1,seq(length(AVG$stimulation)),label=AVG$stimulation) #or library(ggplot2) qplot(stimulation,copy,data=AVG) A.K. On Sunday, March 16, 2014 2:28 PM, Luigi Marongiu wrote: Dear all, I was trying to plot th

[R] plot average from aggregated data

2014-03-16 Thread Luigi Marongiu
Dear all, I was trying to plot the average of different variables at the same time; I used the aggregate function and I obtained correctly the averages I wanted. However when I have tried to plot the data the outlook of the data is a bar rather than by a symbol; even using the "pch" or the "col" ar