Displaying 1 result from an estimated 1 matches for "alltreerings".
2002 Feb 15
2
difficult R-problem
...ion of how I have tried to solve it but I don't
know how to insert numbers at the i-th place. The problem seems to be
the "assign" line. Thanks a lot for all hints.
for(j in 1:10) {
for(i in 1:30) {
fit<-lm(annJMSLTv.box~.,data=data.frame(annJMSLTv.box=annJMSLTv.box[,i],allTreerings[,1:15])
backfit<-step(fit,trace=F,steps=1)
assign(eval(parse(text=paste("RQuadratStep",j,sep=""))),round(summary(fit)$r.squared, dig=3))
}
}
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www...