set_seed: Set the RNG Seed from within Rcpp

View source: R/RcppExports.R

set_seedR Documentation

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)

Arguments

seed

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

Value

A set RNG scope.


simts documentation built on Aug. 31, 2023, 5:07 p.m.