seed: Setting seed

View source: R/utils.R

seedR Documentation

Setting seed

Description

Setting seed

Usage

seed(seed, kind = NULL, normal_kind = NULL, sample_kind = NULL)

Arguments

seed

a single value, interpreted as an integer, or NULL (see ‘Details’).

kind

character or NULL. If kind is a character string, set R's RNG to the kind desired. Use "default" to return to the R default. See ‘Details’ for the interpretation of NULL.

normal_kind

character string or NULL. If it is a character string, set the method of Normal generation. Use "default" to return to the R default. NULL makes no change.

sample_kind

character string or NULL. If it is a character string, set the method of discrete uniform generation (used in sample, for instance). Use "default" to return to the R default. NULL makes no change.


D-Se/ergo documentation built on May 24, 2022, 5:20 p.m.