Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scumdogsteev/mls-junk-generatr

R Implementation of the MLS Junk Generator (random number generator)
https://github.com/scumdogsteev/mls-junk-generatr

mls-junk-generator mlsjunkgen random-number-generator random-number-generators rng rtats

Last synced: about 19 hours ago
JSON representation

R Implementation of the MLS Junk Generator (random number generator)

Awesome Lists containing this project

README

        

# MLS Junk GeneratR (R Implementation of the MLS Junk Generator)
by Scumdog Steev / Steve Myles

License: [MIT License](https://github.com/scumdogsteev/mls-junk-generatR/blob/master/LICENSE)

About: This is a pseudo-random number generator implemented in R and [Excel/VBA](https://github.com/scumdogsteev/mls-junk-generator). This version
has been replaced by [the R package version (mlsjunkgen)](https://github.com/scumdogsteev/mlsjunkgen).

Project Home: http://steve.mylesandmyles.info/projects/mls-junk-generator/

**Algorithm:**

For any seed values of w, x, y, z:

ri = 5.980217w2 + 9.446377x0.25 +
4.81379y0.33 + 8.91197z0.5

ri = ri - Int(ri)

For ri+1:

w = x

x = y

y = z

z = ri

**Files:**

1. [mlsjunkgen.R](https://github.com/scumdogsteev/mls-junk-generatR/blob/master/mlsjunkgen.R) - R implementation that creates
either a vector or a data frame of pseudo-random numbers.

**Project Info:**

* Converted to R package [mlsjunkgen](https://github.com/scumdogsteev/mlsjunkgen): 2015.08.16
* R Source last updated: 2015.02.01