Random Generator Seed

Description

Sets a seed for the random number generator.

Usage

1
cnSetSeed(seed)

Arguments

seed

an integer

Details

Setting a fixed seed before any stochastic function guaratees repeated results.

Value

NA

Author(s)

N. Balov

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.