Tinflex.sample: Draw Random Sample from Tinflex Generator Object

View source: R/sample.R

Tinflex.sampleR Documentation

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)

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.

Author(s)

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

See Also

See Tinflex.setup for examples.


Tinflex documentation built on March 31, 2023, 7:20 p.m.