Skip to content

scumdogsteev/mls-junk-generatR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

MLS Junk GeneratR (R Implementation of the MLS Junk Generator)

by Scumdog Steev / Steve Myles

License: MIT License

About: This is a pseudo-random number generator implemented in R and Excel/VBA. This version has been replaced by the R package version (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 - R implementation that creates either a vector or a data frame of pseudo-random numbers.

Project Info:

  • Converted to R package mlsjunkgen: 2015.08.16
  • R Source last updated: 2015.02.01