# simplifyr-methods

From distr v2.6
0th

Percentile

##### Methods for Function simplifyr in Package distr'

simplifyr-methods

Keywords
distribution, arith, math
##### Note

If you want to generate many random numbers, you should use simplifyr with a big size to be sure, that your numbers are really random.

##### Methods

simplifyr
signature(.Object = "UnivariateDistribution"): After several transformations of a given distribution it may take quite a long time to generate random numbers from the resulting distribution. simplifyr generates a certain number, by default $10^5$, of random numbers once. This pool of random numbers forms the basis for further uses of the r-method. That is, random numbers are generated by sampling with replacement out of this pool.

Distribution-class

##### Aliases
• simplifyr-methods
• simplifyr
• simplifyr,UnivariateDistribution-method
##### Examples
F <- ( Norm() + Binom() + Pois() + Exp() ) * 2 - 10
system.time(r(F)(10^6))
simplifyr(F, size = 10^6)
system.time(r(F)(10^6))`
Documentation reproduced from package distr, version 2.6, License: LGPL-3

### Community examples

Looks like there are no examples yet.