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

Group: Random Variables
See also: normal uniform

Function: randomize
Description: Sets the seed of the pseudorandom number generator.

Usage: randomize (s)
Input:
s scalar

Note:

Example:
randomize(101)
uniform(5)
uniform(5)
randomize(101)
uniform(5)

Result:
Contents of runif

[1,]  0.043672
[2,]  0.90255
[3,]  0.96627
[4,]  0.83006
[5,]  0.29385
Contents of runif

[1,]  0.66308
[2,]  0.81297
[3,]  0.47745
[4,]  0.22466
[5,]  0.58027
Contents of runif

[1,]  0.043672
[2,]  0.90255
[3,]  0.96627
[4,]  0.83006



(C) MD*TECH Method and Data Technologies, 05.02.2006