Re: [R] Plotting using tapply function output

2015-03-31 Thread John Kane
Reproducibility https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada > -Original Message- > From: amc5...@gmail.com > Sent: Mon, 30 Mar 2015 16:07:05 -0700 > To: r-hel

Re: [R] Plotting using tapply function output

2015-03-30 Thread Jim Lemon
Hi Alexandra, This produces a rather messy plot, but it might get you started: finalData<-data.frame(ws=sample(0:100,1300,TRUE), stn=rep(1:13,each=100),hour=rep(1:24,length.out=1300)) statHour = tapply(finalData$ws,list(finalData$stn,finalData$hour),sd) # open a wide device x11(width=13) # leave