search for: wilsonwiki

Displaying 1 result from an estimated 1 matches for "wilsonwiki".

2006 Aug 04
3
Building a random walk vector
...random import randint for i, v in enumerate(vec): if i is not 0: # if we're not on the first element vec[i] = vec[i-1] + randint(-2, 2) I suspect R has some fancier way of doing this. How to? TIA -- A better way of running series of SAS programs: http://overlook.homelinux.net/wilsonwiki/SasAndMakefiles