Displaying 1 result from an estimated 1 matches for "iterstep".
Did you mean:
intersted
2011 Apr 25
1
Trouble Passing a for loop variable (iteration #) to a data frame
...ent's actual duration
+ actdur[i]<-(to[i]-ti[i])
+ iter<-x[i]
+
+ }
+ spStep<-paste("sp Value is ", sp)
+ print(spStep)
+ iterStep<-paste("iter Value is ", iter)
+ print(iterStep)
+
+ newrow<-data.frame(sp, iter, ti, to, actdur)
+ ct=ct+1
+ } #END INNER LOOP
+ ds<-rbind(...