Displaying 1 result from an estimated 1 matches for "xtshold2".
Did you mean:
xtshold
2011 May 13
2
More effective calculation for loop
I am getting confused in how to use R effectively. Below is the example that I
would like to optimize, which is basically a loop. In its current version it
takes about 20 seconds to run. I have looked at the apply function and but
didn't seem to get it to work. I am sure this is relatively easy to show me a
better version for someone who has done this before. For some reason I seem to