Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: distribs
See also: ranexp2 normal2 uniform2

Quantlet: randomize2
Description: Sets the seed of the pseudo-random number generator

Usage: randomize2(s)
Input:
s Interger seed for the pseudo-random number generator.

Note:

Example:
library("distribs")
randomize2(101)
uniform2(3)
uniform2(3)
randomize2(101)
uniform2(3)

Result:
Contents of x

[1,]  0.26647
[2,]  0.32541
[3,]  0.03316

Contents of x

[1,]  0.20473
[2,]  0.23917
[3,]  0.13099

Contents of x

[1,]  0.26647
[2,]  0.32541
[3,]  0.03316



Author: Pavel Cizek, 000926
(C) MD*TECH Method and Data Technologies, 05.02.2006