[R] R looping help

2013-05-16 Thread rishard
Hey I'm not really sure what I should put on here, but I am having trouble with my R code. I am trying to get the p-values, R^2s etc for a number of different groups of variables that are all in one dataset. This is the code: #Stand counter st<-1 #Collections stands<-numeric(67) slopes<-numeric(

Re: [R] R looping help

2013-05-16 Thread rishard
Thanks for the reply, running that gave me this: I tried understanding it using the example you gave but I'm not to R savy. Does this output mean anything to you? -- View this message in context: http://r.789695.n4.nabble.com/R-loo