search for: cokus

Displaying 2 results from an estimated 2 matches for "cokus".

Did you mean: fokus
1998 Nov 04
3
simple questions about R
A few simple questions from a novice R user. (I am running R version 0.62.3 Beta (Sept 8, 1998) under Windows NT.) 1) How do I time the execution of a function/program in R for Windows? Is there the equivalent of a dos.time function? 2) Can anyone send me details on the random number generator used by R (period, etc.). Also, why is it different from the SuperDuper RNG in S? 3) Will there
2009 May 12
4
different results on linux and windows
...h contains some C++ code in which random numbers are needed. To generate the random numbers we use the following Mersenne-Twister implementation: // MersenneTwister.h // Mersenne Twister random number generator -- a C++ class MTRand // Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus // Richard J. Wagner v1.0 15 May 2003 rjwagner at writeme.com the random seed for the Mersenne-Twister is provided by our R-function which gives an (random) integer to the C++ function srand() which in turn sets the seed in the code. Using the set.seed in R makes now the results reproducible,...