Returns a given number of points sampled from the distribution.
rand(object, n, simplify = TRUE)
number of observations. If length(n) > 1, the length is taken to be the number required.
if TRUE (default) returns results in simplest form (vector or data.table) otherwise as data.table.
Simulated draws from the distribution as either a numeric if
simplify is TRUE
or as a data.table.
If available a rand will be returned without warning using an analytic expression. Otherwise,
if the distribution has not been decorated with
NULL is returned.
To impute the rand, use
decorate(distribution, FunctionImputation), this will provide a numeric
calculation for the rand with warning.
$rand(n, simplify = TRUE)