The Wichmann-Hill random number generator indeed produces pseudorandom numbers that are typically in the range \(\left[0, 1\right)\). It generates floating-point numbers rather than discrete integers.

winchmann_hill(seed1, seed2, seed3, n)

Arguments

seed1

Initial seed value.

seed2

Initial seed value.

seed3

Initial seed value.

n

Number of random numbers to generate.

Details

For more information see the Wikipedia Page

Examples

random_numbers <- winchmann_hill(1234, 4321,5678,1000)
# Plot numbers to see that they are random
plot(random_numbers)