Re: [R] For loop for subset - repeating same over and over?

2011-09-30 Thread Mario Valle
Not reproducible. Could you please attach the dataset QInflAvgbyPlot Otherwise I don't see anything obviously wrong here. Ciao! mario On 30-Sep-11 01:37, kelseyann wrote: SiteSpp-

Re: [R] For loop for subset - repeating same over and over?

2011-09-30 Thread peter dalgaard
On Sep 30, 2011, at 08:32 , Mario Valle wrote: Not reproducible. Could you please attach the dataset QInflAvgbyPlot Otherwise I don't see anything obviously wrong here. Ciao! mario On 30-Sep-11 01:37, kelseyann wrote: SiteSpp-

Re: [R] For loop for subset - repeating same over and over?

2011-09-30 Thread Dennis Murphy
Hi: This would be a lot easier to check with a reproducible example, but here's a simplified version of your problem: testd - data.frame(gps = rep(c(ADHALP,ADLCON,ADLARC,BDALAT,BDPARC), each = 15), trt = rep(LETTERS[1:3], each = 5),

Re: [R] For loop for subset - repeating same over and over?

2011-09-29 Thread B77S
The first suggestion would be to use dput() to allow people on here to access your data. see ?dput I think you will want to post the output from: dput(QInflAvgbyPlot) ## or whatever object contains your data kelseyann wrote: Hello, I am using the following script to run an anova for