Displaying 1 result from an estimated 1 matches for "spstep".
2011 Apr 25
1
Trouble Passing a for loop variable (iteration #) to a data frame
...out
+ to[i]<-((ti[i]+rnorm(1, dur, varc)))
+ # calculate each event'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,...