lcg | R Documentation |
x_{n} = (ax_{n-1} + c) modulo m
lcg(n, seed, a, c, m)
n |
number of random numbers |
seed |
Seed |
a |
positive integer |
c |
positive integer |
m |
positive integer |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.