Library: | distribs |
See also: | randomize2 ranexp2 normal2 |
Quantlet: | uniform2 | |
Description: | Uniform2 generates arrays up to eight dimensions of pseudo random variables with the standard uniform distribution. |
Usage: | x=uniform2(d1{,...,dn}) | |
Input: | ||
d1, ..., dn | scalars - number of elements in dimension 1, ..., n; 1 <= n <= 8 | |
Output: | ||
x | d1 x d2 x ... x dn matrix containing pseudo random variables with a standard uniform distribution |
library("distribs") randomize2(0) uniform2(2, 3)
Contents of x [1,] 0.10954 0.469 0.48563 [2,] 0.54428 0.98823 0.63073