Tinflex.sample: Draw Random Sample from Tinflex Generator Object

Description Usage Arguments Details Author(s) See Also

View source: R/sample.R

Description

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

Usage

1
2
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 Feb. 9, 2021, 1:06 a.m.