unuran.sample-methods {Runuran} | R Documentation |
Get random sample from an UNU.RAN object in package Runuran.
## S4 method for signature 'unuran, numeric': unuran.sample(unur,n=1) ## S4 method for signature 'unuran, numeric': r(unur,n=1)
unur |
an "unuran" object. |
n |
sample size. |
For performance reasons unuran.sample
is implemented as a
simple function
.
r
is an S4 method and equivalent to unuran.sample
.
Josef Leydold and Wolfgang H"ormann unuran@statmath.wu-wien.ac.at.