Hello R-Experts,
I've got a question, concerning the automation of a number of regressions
(lm) with the help of a loop (for i in ).
The situation is as follows (the code follows after that):
I have my data in an access database. I have historical data for 2000 parts,
for each of this parts
I don't know why you had c in a(1:2000))
c is a function see ?c ...
and you want a (the row number in SQL_Code) to change with each iteration
in the loop.
Perhaps this might work (I'm not saying this is the best option, just a
potential fix for what you have):
for (a in 1:2000) {
Dataset -
-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of ryanSt
Sent: 12 December 2011 14:59
To: r-help@r-project.org
Subject: [R] Automated Regressions
Hello R-Experts,
I've got a question, concerning the automation of a number of regressions
(lm) with the help
3 matches
Mail list logo