See Distribution$rand
rand(object, n, simplify = TRUE)
(numeric(1))
Number of points to simulate from the distribution. If length greater than \(1\), then
n <- length(n)
,
logical(1)
If TRUE
(default) simplifies the pdf if possible to a numeric
, otherwise returns a
data.table::data.table.
Simulations as either a numeric if simplify
is TRUE
or as a data.table::data.table.