SetAntithetic: Switch between U and 1-U variates

SetAntitheticR Documentation

Switch between U and 1-U variates

Description

Switches between U and 1-U variates.

Usage

.lec.SetAntithetic (name, anti=FALSE)

Arguments

name

name of the stream.

anti

if anti=TRUE then antithetic variates are generated (i.e. 1-U), until this function is called again with anti=FALSE.

Value

None.


rlecuyer documentation built on March 31, 2023, 5:54 p.m.