setRNGparallel: Set up random number generation for parallel calculations

View source: R/setRNGparallel.R

setRNGparallelR Documentation

Set up random number generation for parallel calculations

Description

Set random number generation to L'Ecuyer-CMRG, for use in parallel calculations.

Usage

setRNGparallel()

unsetRNGparallel()

Details

I can never remember the command RNGkind("L'Ecuyer-CMRG"); this is a shortcut. unsetRNG4parallel sets the random number generator back to the default type.

Examples

RNGkind()
setRNGparallel()
RNGkind()
unsetRNGparallel()
RNGkind()

broman documentation built on May 29, 2024, 7:18 a.m.