Learn R Programming

simts (version 0.2.2)

set_seed: Set the RNG Seed from within Rcpp

Description

Within Rcpp, one can set the R session seed without triggering the CRAN rng modifier check.

Usage

set_seed(seed)

Value

A set RNG scope.

Arguments

seed

A unsigned int that is the seed one wishes to use.