Thursday, April 05, 2007

I completed a successful programming session again.

I now have the R code done for a 2 dimensional random walk. It took about 2 hours to get the coding from a 1 dimensional simulation to a 2 dimensional simulation. The problem now is that R crashes when running the for loop 100,000 times. If I take the plot statement outside the loop the code executes alright and we get a return to the origin in one run of n=7 times.

No comments: