On 03/10/2009 8:53 PM, Antonio Paredes wrote:
Hello everyone,
When I run a for loop I noticed that the looping variable gets assigned the
last value in the loop:
For example, if I let h=200, and I run
for(i in 1:h),
i gets the value 200. What's wrong here?
Nothing?
Duncan Murdoch
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.