Learn R Programming

Tinflex (version 2.4)

Tinflex.sample: Draw Random Sample from Tinflex Generator Object

Description

Draw a random sample from a generator object of class "Tinflex" or "TinflexC".

Usage

Tinflex.sample(gen, n=1)
Tinflex.sample.C(gen, n=1)

Arguments

gen

an object of class "Tinflex" or "TinflexC".

n

sample size. (integer)

Author

Josef Leydold josef.leydold@wu.ac.at, Carsten Botts and Wolfgang Hörmann.

Details

Routine Tinflex.sample.C allows objects of class "TinflexC" only and thus is a bit faster than the same call with routine Tinflex.sample.

See Also

See Tinflex.setup for examples.