Displaying 1 result from an estimated 1 matches for "independentresponse".
2009 Aug 05
4
for loop
...instance of k. This code will stop after the first model is complete. I need
it to come back and pass the next value of c into the "Initial.State"
function. any ideas?
col<-c(23:28)
#Setup
for(k in col){
Initial.State(Response=zample[,c(k,29)],
Explanatory=zample[,variable_columns],
IndependentResponse=population[,c(k,29)],
IndependentExplanatory=population[,variable_columns])
#Modeling
Models(GLM=T, GAM=T, RF=T, GBM=T, TSS=T, KeepPredIndependent=T)
}
-Chris
--
View this message in context: http://www.nabble.com/for-loop-tp24830984p24830984.html
Sent from the R help mailing list archive at N...