random
is a new generic for drawing random samples from
the S3 distribution
objects provided in this package, such as
Normal
or Binomial
etc. The respective
methods typically call the "r" function for the corresponding
distribution functions provided in base R such as rnorm
,
rbinom
etc.
In addition to the new random
generic there is also a
simulate
method for distribution objects which simply
calls the random
method internally.